NullableTypes Class Library

NullableDecimal.ToNullableInt64 Method 

Converts this NullableDecimal instance to a NullableInt64.

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

Return Value

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

Exceptions

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

See Also

NullableDecimal Class | NullableTypes Namespace