Skip to main content

DXCollectionBase<T> Methods

Represents the universal collection, which may be used as a base class for other collection classes.
Name Description
Add(T) Adds the specified object to the collection.
AddRange(ICollection) Adds a collection of elements to the end of the collection.
Clear() Removes all objects from the DXCollectionBase<T> instance.
Contains(T) Determines whether the collection contains the specified item.
CopyTo(T[], Int32) Copies all the elements from the DXCollectionBase<T> instance to a one-dimensional array, starting at the specified index of the target array.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Find(Predicate<T>) Searches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire DXCollectionBase<T>.
ForEach(Action<T>) Performs the specified action on each element of the DXCollectionBase<T>.
GetEnumerator() Returns an enumerator that iterates through the DXCollectionBase<T> instance.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
IndexOf(T) Returns the zero-based index of the specified element in the collection.
Insert(Int32, T) Inserts the specified element into the collection at the specified position.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Remove(T) Removes the specified element from the collection.
RemoveAt(Int32) Removes the element at the specified index of the DXCollectionBase<T> instance.
Sort(IComparer<T>) Sorts the elements in the entire DXCollectionBase<T> using the specified comparer.
ToArray() Copies the DXCollectionBase<T> elements to a new array.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also