BitArray Constructor

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Collections
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodBitArray(BitArray)

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

System_CAPS_pubmethodBitArray(Boolean[])

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

System_CAPS_pubmethodBitArray(Byte[])

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

System_CAPS_pubmethodBitArray(Int32)

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

System_CAPS_pubmethodBitArray(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.

System_CAPS_pubmethodBitArray(Int32[])

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

Return to top
Show: