Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Boolean Structure

Represents a Boolean value.

For a list of all members of this type, see Boolean Members.

System.Object
   System.ValueType
      System.Boolean

[Visual Basic]
<Serializable>
Public Structure Boolean
   Implements IComparable, IConvertible
[C#]
[Serializable]
public struct Boolean : IComparable, IConvertible
[C++]
[Serializable]
public __value struct Boolean : public IComparable, IConvertible

[JScript] In JScript, you can use the structures in the .NET Framework, but you cannot define your own.

Thread Safety

This type is safe for multithreaded operations.

Remarks

Instances of this type have values of either true or false.

This value type implements interfaces IConvertible and IComparable. Use the Convert class for conversions instead of this type's explicit interface member implementation of IConvertible.

Requirements

Namespace: System

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

Assembly: Mscorlib (in Mscorlib.dll)

See Also

Boolean Members | System Namespace

Show:
© 2014 Microsoft