BitArray Constructor (BitArray)

BitArray Constructor (BitArray)

[ 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 that contains bit values copied from the specified BitArray.

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

public BitArray(
	BitArray bits
)

Parameters

bits
Type: System.Collections.BitArray
The BitArray to copy.

ExceptionCondition
ArgumentNullException

bits is null.

This constructor is an O(n) operation, where n is the number of elements in bits.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft