TechTalk Genome v4.2

NullableBoolean.Parse Method 

Converts the specified string representation of a logical value to its NullableBoolean equivalent.

public static NullableBoolean Parse(
   string s
);

Parameters

s
The string to be converted.

Return Value

A NullableBoolean structure containing the parsed value.

Exceptions

Exception TypeCondition
ArgumentNullExceptions is a null reference (Nothing in Visual Basic).
FormatExceptionsis not equivalent to Boolean.TrueString or Boolean.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 Int32.MinValue or greater than Int32.MaxValue.

Requirements

Namespace: TechTalk.Genome.NullableTypes

Assembly: TechTalk.Genome (in TechTalk.Genome.dll)

Version: 4.2.4.4

Editions: Professional, Evaluation, Express

See Also

NullableBoolean Class | TechTalk.Genome.NullableTypes Namespace