NDoc 1.3.1 SDK

Settings.GetSetting Method (String, String, Int32)

Retrieves the value of a setting

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

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