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[])

Copies the values of the bits in an array of 32-bit integers into a new BitArray.

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

Parameters

values
An array of integers containing the values to copy, where each integer represents 32 consecutive bits.

Exceptions

Exception Type Condition
ArgumentException values is a null reference object.

Remarks

The number in the first values array element represents bits 0- 31, the second number in the array represents bits 32- 63, etc. Further, the Least Significant Bit of each integer represents the lowest index value; values [0] & 1 represents bit 0, values [0] & 2 represents bit 1, values [0] and 4 represents bit 2, etc.

See Also

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