JAMS Developer Guide
GetBoolean Method


Genghis Namespace > Preferences Class : GetBoolean Method
Gets a value as a boolean
Syntax
'Declaration
 
Public Function GetBoolean( _
   ByVal name As System.String, _
   ByVal defaultValue As System.Boolean _
) As System.Boolean
'Usage
 
Dim instance As Preferences
Dim name As System.String
Dim defaultValue As System.Boolean
Dim value As System.Boolean
 
value = instance.GetBoolean(name, defaultValue)
public System.bool GetBoolean( 
   System.string name,
   System.bool defaultValue
)

Parameters

name
defaultValue
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Preferences Class
Preferences Members