ICollection<T>.Add Method

July 28, 2014

Adds an item to the ICollection<T>.

Namespace:  System.Collections.Generic
Assembly:  mscorlib (in mscorlib.dll)

void Add(
	T item
)

Parameters

item
Type: T
The object to add to the ICollection<T>.

ExceptionCondition
NotSupportedException

The ICollection<T> is read-only.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft