[This is preliminary documentation and is subject to change.]

The Bool type exposes the following members.

Constructors

  NameDescription
Bool
Initializes a new instance of the Bool class

Methods

  NameDescription
Cast
Casts the object specified in the value parameter to a Bool. If the cast fails an InvalidCastException is thrown
CompareTo (Overrides DataTypeBase..::.CompareTo(Object).)
Equals (Overrides Object..::.Equals(Object).)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
IsTrue
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
ToBoolean
Converts to Boolean
ToInt
Transforms the Bool to Int32
ToStringOverloaded.
Returns a String that represents the current Bool. The result string is formatted using the format provided in the format parameter.
TryCast
Tries to cast the object specified in the value parameter to a Boolean.

Operators

  NameDescription
False
ImplicitOverloaded.
LogicalNot
True

Extension Methods

  NameDescription
ShouldBeOverloaded.

See Also