GetBool
public bool GetBool(string name, bool defaultValue) ;
Get the value of the Bool type.
Parameter Name | Description |
---|---|
name | Name. |
defaultValue | Default value. It is returned when there is no parameter. |
The value of the parameter. If there is no parameter, it returns defaultValue.
public bool GetBool(int id, bool defaultValue) ;
Get the value of the Bool type.
Parameter Name | Description |
---|---|
id | ID. |
defaultValue | Default value. It is returned when there is no parameter. |
The value of the parameter. If there is no parameter, it returns defaultValue.
Obsolete public bool GetBool(string name, out bool value) ;
Get the value of the Bool type.
Parameter Name | Description |
---|---|
name | Name. |
value | Value. |
The true when there parameters of the specified name.
Obsolete public bool GetBool(int id, out bool value) ;
Get the value of the Bool type.
Parameter Name | Description |
---|---|
id | ID. |
value | Value. |
The true when there parameters of the specified name.