Method TryGetBoolValue
| Improve this Doc View SourceTryGetBoolValue(String, out Boolean)
Try to retrieve the value of a variable in bool format.
Declaration
bool TryGetBoolValue(string variable, out bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| String | variable | The variable name of the value to try retrieve. |
| Boolean | value | The bool value retrieved or |
Returns
| Type | Description |
|---|---|
| Boolean |
|
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException |
|
| FormatException |
|