NAnt SDK Documentation - v0.92 |

# VcConfigurationBase.GetToolSetting Method (String, String, String)

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

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

#### Parameters

toolName
  The name of the tool.
settingName
  The name of the setting.
defaultValue
  The value to return if setting is not defined.

#### Return Value

The value of a setting for the specified tool, or defaultValue 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