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

Collection<T> Members

The Collection<T> type exposes the following members.

Constructors

Name Description
Public method Collection<T> Overloaded.

Creates and initializes an instance of the Collection<T> class.

Methods

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.)

Properties

Name Description
Public property Count

Gets the number of items actually contained in the Collection<T>.

Public property IsReadOnly

Gets a value indicating whether the collection is read-only.

Public property Item

Gets or sets the item at the specified index.

See Also

Reference