Mono Class Library: System.Collections.Generic.ICollection<T> Overview | Members

System.Collections.Generic.ICollection<T>.Add Method

Adds an item to the current collection.

public void Add (T item)

Parameters

item
The item to add to the current collection.

Exceptions

TypeReason
NotSupportedExceptionThe current collection is read-only.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Collections.Generic
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0