Export (0) Print
Expand All

BitArray Members

Manages a compact array of bit values, which are represented as Booleans, where true indicates that the bit is on (1) and false indicates the bit is off (0).

The following tables list the members exposed by the BitArray type.

  Name Description
Public method Supported by the .NET Compact Framework BitArray Overloaded. Initializes a new instance of the BitArray class whose capacity and initial values can be specified.
Top

  Name Description
Public property Supported by the .NET Compact Framework Count Gets the number of elements contained in the BitArray.
Public property Supported by the .NET Compact Framework IsReadOnly Gets a value indicating whether the BitArray is read-only.
Public property Supported by the .NET Compact Framework IsSynchronized Gets a value indicating whether access to the BitArray is synchronized (thread safe).
Public property Supported by the .NET Compact Framework Item Gets or sets the value of the bit at a specific position in the BitArray.
Public property Supported by the .NET Compact Framework Length Gets or sets the number of elements in the BitArray.
Public property Supported by the .NET Compact Framework SyncRoot Gets an object that can be used to synchronize access to the BitArray.
Top

  Name Description
Public method Supported by the .NET Compact Framework And Performs the bitwise AND operation on the elements in the current BitArray against the corresponding elements in the specified BitArray.
Public method Supported by the .NET Compact Framework Clone Creates a shallow copy of the BitArray.
Public method Supported by the .NET Compact Framework CopyTo Copies the entire BitArray to a compatible one-dimensional Array, starting at the specified index of the target array.
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Supported by the .NET Compact Framework Get Gets the value of the bit at a specific position in the BitArray.
Public method Supported by the .NET Compact Framework GetEnumerator Returns an enumerator that iterates through the BitArray.
Public method Supported by the .NET Compact Framework GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (inherited from Object)
Public method Supported by the .NET Compact Framework Not Inverts all the bit values in the current BitArray, so that elements set to true are changed to false, and elements set to false are changed to true.
Public method Supported by the .NET Compact Framework Or Performs the bitwise OR operation on the elements in the current BitArray against the corresponding elements in the specified BitArray.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Supported by the .NET Compact Framework Set Sets the bit at a specific position in the BitArray to the specified value.
Public method Supported by the .NET Compact Framework SetAll Sets all bits in the BitArray to the specified value.
Public method Supported by the .NET Compact Framework ToString  Returns a String that represents the current Object. (inherited from Object)
Public method Supported by the .NET Compact Framework Xor Performs the bitwise exclusive OR operation on the elements in the current BitArray against the corresponding elements in the specified BitArray.
Top

Community Additions

ADD
Show:
© 2014 Microsoft