BitCollection Methods |
[This is preliminary documentation and is subject to change.]
The BitCollection type exposes the following members.
| Name | Description | |
|---|---|---|
| Add |
Adds an item to the collection.
| |
| Clear |
Removes all items from the collection.
| |
| Contains |
Determines whether the collection contains a specific value.
| |
| CopyTo |
Copies the entire BitCollection to a compatible one-dimensional array of bools, starting at the specified index of the target array.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetEnumerator |
Returns an enumerator that iterates through the collection.
| |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IndexOf |
Searches for the specified value and returns the zero-based index of the first occurrence within the collection.
| |
| Insert |
Inserts an element into the collection at the specified index.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Remove |
Removes the first occurrence of the specified value from the collection.
| |
| RemoveAt |
Removes the value at the specified index.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |