OptionsCollection.GetBoolean Method

Returns value of the option in boolean format.

Definition

Namespace: SMath.Manager
Assembly: SMath.Manager (in SMath.Manager.dll) Version: 1.73.9126.0
C#
public bool GetBoolean(
	string name,
	bool defaultValue = false
)

Parameters

name  String
Name of the option to retrieve.
defaultValue  Boolean  (Optional)
Default value to return if no option is found by the given name.

Return Value

Boolean
A value of the option in boolean format.

See Also