Converts the specified String representation of a logical value to its NullableBoolean equivalent.
A NullableBoolean structure containing the parsed value.
Exception Type | Condition |
---|---|
ArgumentNullException | s is a null reference (Nothing in Visual Basic). |
FormatException | sis 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 or s represents a number less than MinValue or greater than MaxValue. |
NullableBoolean Class | NullableTypes Namespace