NAnt SDK Documentation - v0.92

VcConfigurationBase.GetToolSetting Method (String, String)

Gets the value of a given setting for a specified tool.

[Visual Basic]
Overloads Public Function GetToolSetting( _
   ByVal toolName As String, _
   ByVal settingName As String _
) As String
[C#]
public string GetToolSetting(
   string toolName,
   string settingName
);

Parameters

toolName
The name of the tool.
settingName
The name of the setting.

Return Value

The value of a setting for the specified tool, or a null reference (Nothing in Visual Basic) if the setting is not defined for the specified tool.

Remarks

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

See Also

VcConfigurationBase Class | NAnt.VSNet Namespace | VcConfigurationBase.GetToolSetting Overload List