System.Collections.Generic.ICollection<T> Members

The members of System.Collections.Generic.ICollection<T> are listed below.

Public Properties

[read-only]
Countint.

Gets the number of elements contained in the ICollection`1.

[read-only]
IsReadOnlybool.

Gets a value indicating whether the ICollection`1 is read-only.

Public Methods

Add(T)
Adds an item to the current collection.
Clear()

Removes all items from the ICollection`1.

Contains(T) : bool
Determines whether the current collection contains a specific value.
CopyTo(T[], int)
Copies the elements of the current collection to a Array, starting at the specified index.
Remove(T) : bool
Removes the first occurrence of an item from the current collection.