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