NullableTypes Class Library

NullableString.ToNullableInt32 Method 

Converts this NullableString instance to a NullableInt32.

[Visual Basic]
Public Function ToNullableInt32() As NullableInt32
public NullableInt32 ToNullableInt32();

Return Value

A NullableInt32 that is Null if this NullableString is Null otherwise a NullableInt32 whose Value equals the number represented by this NullableString.


Exception TypeCondition
FormatException this NullableString instance is not of the correct format.
OverflowExceptionx value represent a number that is less than MinValue or greater than MaxValue.

See Also

NullableString Class | NullableTypes Namespace | Parse