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

Definicja

Dodaje określony element do niezmiennej listy.

 virtual void System.Collections.Generic.ICollection<T>.Add(T item) = System::Collections::Generic::ICollection<T>::Add;
void ICollection<T>.Add (T item);
abstract member System.Collections.Generic.ICollection<T>.Add : 'T -> unit
override this.System.Collections.Generic.ICollection<T>.Add : 'T -> unit
Sub Add (item As T) Implements ICollection(Of T).Add

Parametry

item
T

Element do dodania.

Implementuje

Wyjątki

Zawsze generowany.

Uwagi

Ten element jest jawną implementacją członków. Można go używać tylko wtedy, gdy ImmutableList<T> wystąpienie jest rzutowanie do interfejsu ICollection<T> .

Dotyczy