CollectionBase Methods
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() | Clear() | Removes all objects from the CollectionBase instance. This method cannot be overridden. |
![]() | Equals(Object^) | 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 CollectionBase instance. |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | OnClear() | Performs additional custom processes when clearing the contents of the CollectionBase instance. |
![]() | OnClearComplete() | Performs additional custom processes after clearing the contents of the CollectionBase instance. |
![]() | OnInsert(Int32, Object^) | Performs additional custom processes before inserting a new element into the CollectionBase instance. |
![]() | OnInsertComplete(Int32, Object^) | Performs additional custom processes after inserting a new element into the CollectionBase instance. |
![]() | OnRemove(Int32, Object^) | Performs additional custom processes when removing an element from the CollectionBase instance. |
![]() | OnRemoveComplete(Int32, Object^) | Performs additional custom processes after removing an element from the CollectionBase instance. |
![]() | OnSet(Int32, Object^, Object^) | Performs additional custom processes before setting a value in the CollectionBase instance. |
![]() | OnSetComplete(Int32, Object^, Object^) | Performs additional custom processes after setting a value in the CollectionBase instance. |
![]() | OnValidate(Object^) | Performs additional custom processes when validating a value. |
![]() | RemoveAt(Int32) | Removes the element at the specified index of the CollectionBase instance. This method is not overridable. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | AsParallel() | Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.) |
![]() | AsQueryable() | Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.) |
![]() | Cast<TResult>() | Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.) |
![]() | OfType<TResult>() | Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.) |
| Name | Description | |
|---|---|---|
![]() ![]() | ICollection::CopyTo(Array^, Int32) | Copies the entire CollectionBase to a compatible one-dimensional Array, starting at the specified index of the target array. |
![]() ![]() | IList::Add(Object^) | Adds an object to the end of the CollectionBase. |
![]() ![]() | IList::Contains(Object^) | Determines whether the CollectionBase contains a specific element. |
![]() ![]() | IList::IndexOf(Object^) | Searches for the specified Object and returns the zero-based index of the first occurrence within the entire CollectionBase. |
![]() ![]() | IList::Insert(Int32, Object^) | Inserts an element into the CollectionBase at the specified index. |
![]() ![]() | IList::Remove(Object^) | Removes the first occurrence of a specific object from the CollectionBase. |



