Was this page helpful?
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Boolean Structure

Represents a Boolean value.

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


[Visual Basic]
Public Structure Boolean
   Implements IComparable, IConvertible
public struct Boolean : IComparable, IConvertible
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.


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.


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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft