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 );
Exception Type | Condition |
---|---|
ArgumentOutOfRangeException | length is less than zero. |
BitArray Class | BitArray Members | System.Collections Namespace | BitArray Constructor Overload List