Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2008
Visual Studio
JScript
JScript Reference
Language Reference
 boolean Data Type
Collapse All/Expand All Collapse All
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
JScript 8.0
boolean Data Type (Visual Studio - JScript)

The value of the boolean type, which is either true or false, depends on whether the true or false keyword is assigned to the type.

The corresponding .NET Framework data type is System.Boolean. The Boolean data type is identical to the boolean data type.

The properties and methods of the boolean data type are the same as the System.Boolean properties and methods.

JScript also defines a Boolean object. The boolean data type interoperates with the Boolean object. Consequently, a Boolean object can call the methods and properties of the boolean data type, and a boolean data type can call the methods and properties of the Boolean object. For additional information, see Boolean Object Properties and Methods. Furthermore, Boolean objects are accepted by functions that take boolean data types, and vice versa.

The boolean data type should be used instead of the Boolean object in most circumstances.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker