Method GetShort
GetShort(IFormatProvider?)
Parses the value contained in this StringValue as a short. Throws an exception if the value couldn't be parsed to the target type.
public short GetShort(IFormatProvider? formatProvider = null)
Parameters
formatProvider
IFormatProviderThe IFormatProvider to use for parsing. Defaults to null.
Returns
Exceptions
- FormatException
Thrown when the value cannot be parsed to a short.