Export (0) Print
Expand All

BitArray Constructor

.NET Framework 1.1

Initializes a new instance of the BitArray class whose capacity and initial values can be specified.

Overload List

Initializes a new instance of the BitArray class that contains bit values copied from the specified BitArray.

Supported by the .NET Compact Framework.

[Visual Basic] Public Sub New(BitArray)
[C#] public BitArray(BitArray);
[C++] public: BitArray(BitArray*);
[JScript] public function BitArray(BitArray);

Initializes a new instance of the BitArray class that contains bit values copied from the specified array of Booleans.

Supported by the .NET Compact Framework.

[Visual Basic] Public Sub New(Boolean())
[C#] public BitArray(bool[]);
[C++] public: BitArray(bool __gc[]);
[JScript] public function BitArray(Boolean[]);

Initializes a new instance of the BitArray class that contains bit values copied from the specified array of bytes.

Supported by the .NET Compact Framework.

[Visual Basic] Public Sub New(Byte())
[C#] public BitArray(byte[]);
[C++] public: BitArray(unsigned char __gc[]);
[JScript] public function BitArray(Byte[]);

Initializes a new instance of the BitArray class that can hold the specified number of bit values, which are initially set to false.

Supported by the .NET Compact Framework.

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

Initializes a new instance of the BitArray class that contains bit values copied from the specified array of 32-bit integers.

Supported by the .NET Compact Framework.

[Visual Basic] Public Sub New(Integer())
[C#] public BitArray(int[]);
[C++] public: BitArray(int __gc[]);
[JScript] public function BitArray(int[]);

Initializes a new instance of the BitArray class that can hold the specified number of bit values, which are initially set to the specified value.

Supported by the .NET Compact Framework.

[Visual Basic] Public Sub New(Integer, Boolean)
[C#] public BitArray(int, bool);
[C++] public: BitArray(int, bool);
[JScript] public function BitArray(int, Boolean);

See Also

BitArray Class | BitArray Members | System.Collections Namespace

Show:
© 2014 Microsoft