NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

BitArray Class

Manages a compact array of bit values, which are represented as booleans, where true indicates that the bit is on (1) and false indicates the bit is off (0).

Object
   BitArray

[Visual Basic]
NotInheritable Public Class BitArray
[C#]
public sealed class BitArray
[C++]
public __gc __sealed class BitArray
[JScript]
public class BitArray

Remarks

The size of a BitArray is controlled by the client; indexing past the end of the BitArray throws an ArgumentException.

This class provides a simple set of capabilities on an array of bit values.

Requirements

Namespace: System.Collections

Assembly: mscorlib.dll

Example

The intended use for BitArray is:

if (bitflag->Get(bitindex)) { ... }

See Also

BitArray Members | System.Collections Namespace