NullableTypes Class Library

DBNullConvert.From Method (NullableBoolean)

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 NullableBoolean _
) As Object
[C#]
public static object From(
   NullableBoolean x
);

Parameters

x
A NullableBoolean value.

Return Value

DBNull if x is Null otherwise the Value of x.

See Also

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