This documentation is archived and is not being maintained.

BitArray Constructor

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

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

Supported by the .NET Compact Framework.

BitArray (Boolean[]) 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.

BitArray (Byte[]) 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.

BitArray (Int32) 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.

BitArray (Int32[]) 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.

BitArray (Int32, Boolean) 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.

Show: