NullableTypes Class Library

NullableSingle.ToNullableInt64 Method 

Converts this NullableSingle instance to a NullableInt64.

[Visual Basic]
Public Function ToNullableInt64() As NullableInt64
[C#]
public NullableInt64 ToNullableInt64();

Return Value

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

Exceptions

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

See Also

NullableSingle Class | NullableTypes Namespace