Mono Class Library: Overview

System.Collections.BitArray: Members

The members of System.Collections.BitArray are listed below.

See Also: Inherited members from System.Object

Public Constructors

Constructs and initializes a new instance of the BitArray class where the inital values are set by the bool array.
Constructs and initializes a new instance of the BitArray class where the inital values are set by the byte array.
Constructs and initializes a new instance of the BitArray class from an existing BitArray.
Constructs and initializes a new instance of the BitArray class with the specified Count and where the inital values are all set to false.
Constructs and initializes a instance of the BitArray class from an array of ints. The first value in the int array sets the leaset significant bits of the bit array.
Constructs and initializes a new instance of the BitArray class with the specified Count and all values initialized to either true or false.

Public Properties

[read-only]
Countint. Gets the number of elements contained in the current instance.
[read-only]
IsReadOnlybool. Gets a value indicating whether the current instance is read-only.
[read-only]
IsSynchronizedbool. Gets a value indicating whether access to the current instance is synchronized (thread-safe).
default property
Item(int)bool. Gets or sets the element at the specified index of the current instance.
Lengthint. Gets or Sets the number of elements contained in the current instance. Setting the Length causes the BitArray to be resized.
[read-only]
SyncRootobject. Gets an object that can be used to synchronize access to the current instance.

Public Methods

And(BitArray) : BitArray
Performs a bitwise And on two BitArray instances.
Clone() : object
Returns a object that is a copy of the current instance.
CopyTo(Array, int)
Copies the elements from the current instance to the specified Array , starting at the specified index of the array.
Get(int) : bool
Get the specified element from the BitArray.
GetEnumerator() : IEnumerator
Returns an IEnumerator for the current instance.
Not() : BitArray
Negates all of the bits in a BitArray.
Or(BitArray) : BitArray
Performs a bitwise Or of two BitArray instances.
Set(int, bool)
Sets the specified element of the BitArray to the value specified.
SetAll(bool)
Sets all the elements of the BitArray to either true or false.
Xor(BitArray) : BitArray
Performs a bitwise Xor of two BitArray instances.

Extension Methods

static
AsQueryable(this IEnumerable) : System.Linq.IQueryable
Documentation for this section has not yet been entered.
static
Cast<TResult>(this IEnumerable) : IEnumerable<TResult>
Documentation for this section has not yet been entered.
static
OfType<TResult>(this IEnumerable) : IEnumerable<TResult>
Documentation for this section has not yet been entered.