Sisk

Method

StringValue.GetInteger

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

GetInteger(IFormatProvider?) #

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

C#
public int GetInteger(IFormatProvider? formatProvider = null)

Parameters #

formatProvider IFormatProvider?

The IFormatProvider to use for parsing. Defaults to null.

Returns #

int

The converted Int32.

Exceptions #

FormatException

Thrown when the value cannot be parsed to an Int32.

Type to search the documentation and the API reference.