ImmutableList<T>.ICollection<T>.Add(T) Method

Definition

Adds the specified item to the immutable list.

 virtual void System.Collections.Generic.ICollection<T>.Add(T item) = System::Collections::Generic::ICollection<T>::Add;
void ICollection<T>.Add (T item);
Sub Add (item As T) Implements ICollection(Of T).Add

Parameters

item
T

The item to add.

Implements

Exceptions

Remarks

This member is an explicit interface member implementation. It can be used only when the ImmutableList<T> instance is cast to an ICollection<T> interface.

Applies to