NullableTypes Class Library

NullConvert.ToNullableInt64 Method (Int64, Int64)

Converts the specified Int64 value whose null value is simulated using a a conventional Int64 value to an equivalent NullableInt64.

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


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

Return Value

Null if x is equals to conventionalNullValue otherwise a NullableInt64 constructed from x.

See Also

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