NDoc 1.3.1 SDK

Settings.GetSetting Method (String, String, String)

Retrieves the value of a setting

[Visual Basic]
Public Function GetSetting( _ 
   ByVal section As String, _ 
   ByVal name As String, _ 
   ByVal defaultValue As String _ 
) As String
[C#]
public string GetSetting(
   string section,
   string name,
   string defaultValue
);
[C++]
public: String* GetSetting(
   String* section,
   String* name,
   String* defaultValue
);
[JScript]
public function GetSetting(
   String section,
   String name,
   String defaultValue
): String;

Parameters

section
The section name to store the list under
name
The name of the setting
defaultValue
The value to use if no setting is found

Return Value

The stored setting or the default value if no stroed setting is found

See Also

Settings Class | NDoc.Core Namespace | Settings.GetSetting Overload List