NullableTypes Class Library

NullableInt32 Explicit NullableTypes.NullableString to NullableTypes.NullableInt32 Conversion 

Converts the specified NullableString parameter to a NullableInt32 structure.

[Visual Basic]
returnValue = NullableInt32.op_Explicit(x)
public static explicit operator NullableInt32(
   NullableString x


The NullableString to be converted.

Return Value

Null if x is Null otherwise a new NullableInt32 structure containing the parsed value.


Exception TypeCondition
FormatExceptionx does not consist solely of an optional sign followed by a sequence of digits ranging from 0 to 9.
OverflowExceptionx represents a number less than MinValue or greater than MaxValue.

See Also

NullableInt32 Class | NullableTypes Namespace