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 Constructor (Int32)

Creates a new BitArray with the capacity to hold the specified number of bit values, and initializes each bit to false.

[Visual Basic]
Overloads Public Sub New( _
   ByVal length As Integer _
)
[C#]
public BitArray(
   int length
);
[C++]
public: BitArray(
   int length
);
[JScript]
public function BitArray(
   length : int
);

Parameters

length
The number of bit values in the BitArray to create.

Exceptions

Exception Type Condition
ArgumentOutOfRangeException length is less than zero.

See Also

BitArray Class | BitArray Members | System.Collections Namespace | BitArray Constructor Overload List