OptionsCollection.GetBoolean Method
Returns value of the option in boolean format.
Namespace: SMath.ManagerAssembly: SMath.Manager (in SMath.Manager.dll) Version: 1.73.9126.0
public bool GetBoolean(
string name,
bool defaultValue = false
)
Public Function GetBoolean (
name As String,
Optional defaultValue As Boolean = false
) As Boolean
public:
virtual bool GetBoolean(
String^ name,
bool defaultValue = false
) sealed
abstract GetBoolean :
name : string *
?defaultValue : bool
-> bool
override GetBoolean :
name : string *
?defaultValue : bool
-> bool
- name String
- Name of the option to retrieve.
- defaultValue Boolean (Optional)
- Default value to return if no option is found by the given name.
BooleanA value of the option in boolean format.