NullableTypes Class Library

NullConvert.From Method (NullableInt64, Int64)

Converts the specified NullableInt64 value to an equivalent Int64 value using a conventional Int64 value to represent the Null value.

[Visual Basic]
Overloads Public Shared Function From( _
   ByVal x As NullableInt64, _
   ByVal conventionalNullValue As Long _
) As Long
public static long From(
   NullableInt64 x,
   long conventionalNullValue


The NullableInt64 value to convert.
The Int64 value that conventionally represent the null value.

Return Value

conventionalNullValue if x is Null otherwise the Value of x.

See Also

NullConvert Class | NullableTypes.HelperFunctions Namespace | NullConvert.From Overload List