NullableTypes Class Library

NullableBoolean Explicit NullableTypes.NullableString to NullableTypes.NullableBoolean Conversion 

Converts the NullableString parameter to a see NullableBoolean structure.

[Visual Basic]
returnValue = NullableBoolean.op_Explicit(x)
[C#]
public static explicit operator NullableBoolean(
   NullableString x
);

Parameters

x
A NullableString to be converted to a NullableBoolean structure.

Return Value

Null if x is Null; otherwise a NullableBoolean structure containing the parsed value of x.

Exceptions

Exception TypeCondition
FormatExceptionsis not equivalent to TrueString or FalseString or s does not consist solely of an optional negative sign followed by a sequence of digits ranging from 0 to 9.
OverflowExceptions represents a number less than MinValue or greater than MaxValue.

See Also

NullableBoolean Class | NullableTypes Namespace