Sitecore 5.0 API

Settings.GetBoolSetting Method 

Get boolean setting.

[Visual Basic]
Public Shared Function GetBoolSetting( _
   ByVal sName As String, _
   ByVal defaultValue As Boolean _
) As Boolean
[C#]
public static bool GetBoolSetting(
   string sName,
   bool defaultValue
);

See Also

Settings Class | Sitecore.Configuration Namespace