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