Bridge

Boolean Members

The Boolean type exposes the following members.

Methods


  Name Description
Public method CompareTo(Boolean)
Compares this instance to a specified Boolean object and returns an integer that indicates their relationship to one another.
Public method CompareTo(Object)
Compares this instance to a specified object and returns an integer that indicates their relationship to one another.
Public method Equals
Returns a value indicating whether this instance is equal to a specified Boolean object.
Public method Static member Parse
Converts the specified string representation of a logical value to its Boolean equivalent, or throws an exception if the string is not equal to the value of TrueString or FalseString.
Public method ToString
Converts the value of this instance to its equivalent string representation (either "True" or "False").
Public method Static member TryParse
Tries to convert the specified string representation of a logical value to its Boolean equivalent. A return value indicates whether the conversion succeeded or failed.

Fields


  Name Description
Public field Static member FalseString
Represents the Boolean value false as a string. This field is read-only.
Public field Static member TrueString
Represents the Boolean value true as a string. This field is read-only.