Export (0) Print
Expand All
4 out of 7 rated this helpful - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.