NullableTypes Class Library

NullConvert.From Method (NullableBoolean, Boolean)

Converts the specified NullableBoolean value to an equivalent Boolean value using a conventional Boolean value to represent the Null value.

[Visual Basic]
Overloads Public Shared Function From( _
   ByVal x As NullableBoolean, _
   ByVal conventionalNullValue As Boolean _
) As Boolean
public static bool From(
   NullableBoolean x,
   bool conventionalNullValue


The NullableBoolean value to convert.
The Boolean 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