BitArray Constructor

BitArray Constructor

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method BitArray(BitArray) Initializes a new instance of the BitArray class that contains bit values copied from the specified BitArray.
Public method BitArray(Boolean()) Initializes a new instance of the BitArray class that contains bit values copied from the specified array of Booleans.
Public method BitArray(Byte()) Initializes a new instance of the BitArray class that contains bit values copied from the specified array of bytes.
Public method 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.
Public method BitArray(Int32()) Initializes a new instance of the BitArray class that contains bit values copied from the specified array of 32-bit integers.
Public method 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.
Top

Show:
© 2017 Microsoft