Converts the specified String representation of a number to its NullableInt32 equivalent.
A NullableInt32 structure containing the parsed value.
Exception Type | Condition |
---|---|
ArgumentNullException | s is a null reference (Nothing in Visual Basic). |
FormatException | s does not consist solely of an optional sign followed by a sequence of digits ranging from 0 to 9. |
OverflowException | s represents a number less than MinValue or greater than MaxValue. |
NullableInt32 Class | NullableTypes Namespace