NDoc 1.3.1 SDK

Settings.GetSetting Method (String, String, Boolean)

Retrieves the value of a setting

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

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