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