Sisk

Method

StringValue.GetShort

Namespace
Sisk.Core.Entity
Assembly
Sisk.Core.dll

GetShort(IFormatProvider?) #

Parses the value contained in this StringValue as a Int16. Throws an exception if the value couldn’t be parsed to the target type.

C#
public short GetShort(IFormatProvider? formatProvider = null)

Parameters #

formatProvider IFormatProvider?

The IFormatProvider to use for parsing. Defaults to null.

Returns #

short

The converted Int16.

Exceptions #

FormatException

Thrown when the value cannot be parsed to a Int16.

Type to search the documentation and the API reference.