VcFileConfiguration.

GetToolSetting(string, string, string) Method

Summary

Gets the value of a given setting for a specified tool.
Assembly
NAnt.VSNet.dll
Namespace
NAnt.VSNet
Containing Type
VcFileConfiguration

Syntax

public override string GetToolSetting(string toolName, string settingName, string projectDefault)

Remarks

If the setting is not defined in the file configuration, then the project level setting will be used.

An empty setting value, which is used as a means to override the project default, will be returned as a empty string.

Parameters

Name Type Description
toolName string The name of the tool.
settingName string The name of the setting.
projectDefault string The value to return if setting is not defined in both the file and project configuration.

Return Value

Type Description
string The value of a setting for the specified tool, or settingName if the setting is not defined in both the file and project configuration.