NullableTypes Class Library

NullableSingle.ToNullableInt16 Method 

Converts this NullableSingle instance to a NullableInt16.

[Visual Basic]
Public Function ToNullableInt16() As NullableInt16
public NullableInt16 ToNullableInt16();

Return Value

A NullableInt16 that is Null if this NullableSingle is Null otherwise a NullableInt16 whose Value equals the Value of this instance.


Exception TypeCondition
OverflowException This NullableSingleValue is a number that is less than MinValue or greater than MaxValue.

See Also

NullableSingle Class | NullableTypes Namespace