Method GetShort
GetShort(IFormatProvider?)
Gets a short from this StringValue.
public short GetShort(IFormatProvider? fmtProvider = null)
Parameters
fmtProvider
IFormatProviderOptional. Specifies the culture-specific format information.
Returns
- short
An non-null short value.
Exceptions
- NullReferenceException
Thrown when the value stored in this instance is null.
- FormatException
Thrown when the value stored in this instance is not parseable to the desired type.