NullableTypes Class Library

NullableInt32.Parse Method 

Converts the specified String representation of a number to its NullableInt32 equivalent.

[Visual Basic]
Public Shared Function Parse( _
   ByVal s As String _
) As NullableInt32
public static NullableInt32 Parse(
   string s


The String to be converted.

Return Value

A NullableInt32 structure containing the parsed value.


Exception TypeCondition
ArgumentNullExceptions is a null reference (Nothing in Visual Basic).
FormatExceptions does not consist solely of an optional sign followed by a sequence of digits ranging from 0 to 9.
OverflowExceptions represents a number less than MinValue or greater than MaxValue.

See Also

NullableInt32 Class | NullableTypes Namespace