Export (0) Print
Expand All

Boolean Members

Represents a Boolean value.

The following tables list the members exposed by the Boolean type.

  Name Description
Public field Static Supported by the .NET Compact Framework FalseString Represents the Boolean value false as a string. This field is read-only.
Public field Static Supported by the .NET Compact Framework TrueString Represents the Boolean value true as a string. This field is read-only.
Top

  Name Description
Public method Supported by the .NET Compact Framework CompareTo Overloaded. Compares this instance to a specified object or Boolean and returns an indication of their relative values.
Public method Supported by the .NET Compact Framework Equals Overloaded. Returns a value indicating whether this instance is equal to a specified object or Boolean.
Public method Supported by the .NET Compact Framework GetHashCode Overridden. Returns the hash code for this instance.
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetTypeCode Returns the TypeCode for value type Boolean.
Public method Static Supported by the .NET Compact Framework Parse Converts the specified string representation of a logical value to its Boolean equivalent.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework ToString Overloaded. Overridden. Converts the value of this instance to its equivalent string representation.
Public method Static TryParse Converts the specified string representation of a logical value to its Boolean equivalent. A return value indicates whether the conversion succeeded or failed.
Top

  Name Description
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToBoolean Returns the value of this instance of Boolean.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToByte Returns a byte with a value equivalent to either true or false, depending on the value of this instance of Boolean.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToChar Note   Boolean objects cannot be converted to char. This method always throws InvalidCastException.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToDateTime Note   This conversion is not supported. Attempting to do so throws an InvalidCastException.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToDecimal Note   This conversion is not supported. Attempting to do so throws an InvalidCastException.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToDouble Note   This conversion is not supported. Attempting to do so throws an InvalidCastException.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToInt16 Converts this instance of Boolean to an Int16.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToInt32 Converts this instance of Boolean to an Int32.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToInt64 Converts this instance of Boolean to Int64.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToSByte Converts this instance of Boolean to SByte.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToSingle Note   This conversion is not supported. Attempting to do so throws an InvalidCastException.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToType Converts this instance of Boolean to an object of the specified Type.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToUInt16 Returns a 16-bit unsigned integer representing the value of this instance of Boolean.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToUInt32 Returns a 32-bit unsigned integer representing the value of this instance of Boolean.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToUInt64 Returns a 64-bit unsigned integer representing the value of this instance of Boolean.
Top

Community Additions

ADD
Show:
© 2014 Microsoft