NullableTypes Class Library

NullableInt32 Explicit NullableTypes.NullableSingle to NullableTypes.NullableInt32 Conversion 

Converts the NullableSingle parameter to a NullableInt32 structure.

[Visual Basic]
returnValue = NullableInt32.op_Explicit(x)
[C#]
public static explicit operator NullableInt32(
   NullableSingle x
);

Parameters

x
A NullableSingle 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.

Exceptions

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

See Also

NullableInt32 Class | NullableTypes Namespace