NullableTypes Class Library

DBNullConvert.From Method (NullableDateTime)

Converts the specified value to an equivalent Object value that can be assigned to a DataRow Item value, a Parameters Item value or a IDataRecord Item value.

[Visual Basic]
Overloads Public Shared Function From( _
   ByVal x As NullableDateTime _
) As Object
public static object From(
   NullableDateTime x


A NullableDateTime value.

Return Value

DBNull if x is Null otherwise the Value of x.

See Also

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