This documentation is for the old version. Go to the latest Graphics Mill docs

Collection<T> Methods

The Collection<T> type exposes the following members.


Name Description
Public method Add

Adds an item to the end of the Collection<T>.

Public method Clear

Removes all items from the Collection<T>.

Public method Contains

Determines whether an item is in the Collection<T>.

Public method CopyTo

Copies the entire Collection<T> to a compatible one-dimensional array, starting at the specified index of the target array.

Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator

Returns an enumerator that iterates through the Collection<T>.

Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method IndexOf

Searches for the specified item and returns the zero-based index of the first occurrence within the entire Collection<T>.

Public method Insert

Inserts an item into the Collection<T> at the specified index.

Protected method MemberwiseClone (Inherited from Object.)
Public method Move

Moves an item from one position to another.

Public method Remove

Removes the first occurrence of a specific item from the Collection<T>.

Public method RemoveAt

Removes the item at the specified index of the collection.

Public method ToString (Inherited from Object.)

See Also