NullableTypes Class Library

NullableInt32 Explicit NullableTypes.NullableDecimal to NullableTypes.NullableInt32 Conversion 

Converts the NullableDecimal parameter to a NullableInt32 structure.

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


A NullableDecimal to be converted to a NullableInt32 structure.

Return Value

Null if x is Null otherwise a new NullableInt32 structure constructed from the Value of x.


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

See Also

NullableInt32 Class | NullableTypes Namespace