Boolean Members
The Boolean type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
CompareTo(Boolean) |
Compares this instance to a specified Boolean object and returns an integer that indicates their relationship to one another.
|
![]() |
CompareTo(Object) |
Compares this instance to a specified object and returns an integer that indicates their relationship to one another.
|
![]() |
Equals |
Returns a value indicating whether this instance is equal to a specified Boolean object.
|
![]() ![]() |
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.
|
![]() |
ToString |
Converts the value of this instance to its equivalent string representation (either "True" or "False").
|
![]() ![]() |
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 | |
---|---|---|
![]() ![]() |
FalseString |
Represents the Boolean value false as a string. This field is read-only.
|
![]() ![]() |
TrueString |
Represents the Boolean value true as a string. This field is read-only.
|