NullableTypes Class Library

NullableString.ToNullableInt64 Method 

Converts this NullableString instance to a NullableInt64.

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

Return Value

A NullableInt64 that is Null if this NullableString is Null otherwise a NullableInt64 whose Value equals the number represented by this NullableString.


Exception TypeCondition
FormatException this NullableString instance is not of the correct format.
OverflowExceptionx value represent a number that is less than MinValue or greater than MaxValue.

See Also

NullableString Class | NullableTypes Namespace | Parse