| ICollectionT Interface |
Namespace: System.Collections.Generic
public interface ICollection<T> : IEnumerable<T>, IEnumerable
The ICollectionT type exposes the following members.
| Name | Description | |
|---|---|---|
| Add | Adds an item to the ICollectionT. | |
| Clear | Removes all items from the ICollectionT. | |
| Contains | Determines whether the ICollectionT contains a specific value. | |
| CopyTo | ||
| GetEnumerator | Returns an enumerator that iterates through the collection. (Inherited from IEnumerableT.) |
| Name | Description | |
|---|---|---|
| Count | Gets the number of elements contained in the ICollectionT. | |
| IsReadOnly | Gets a value indicating whether the ICollectionT is read-only. |