NullableTypes Class Library

NullableInt64.ToNullableInt32 Method 

Converts this NullableInt64 instance to a NullableInt32.

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

Return Value

A NullableInt32 that is Null if this NullableInt64 is Null otherwise a NullableInt32 whose Value equals the Value of this instance.


Exception TypeCondition
OverflowExceptionx value is a number that is less than MinValue or greater than MaxValue.

See Also

NullableInt64 Class | NullableTypes Namespace