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

Definicja

Dodaje określoną wartość do tej niezmiennej listy.

 virtual System::Collections::Immutable::IImmutableList<T> ^ System.Collections.Immutable.IImmutableList<T>.Add(T value) = System::Collections::Immutable::IImmutableList<T>::Add;
System.Collections.Immutable.IImmutableList<T> IImmutableList<T>.Add (T value);
abstract member System.Collections.Immutable.IImmutableList<T>.Add : 'T -> System.Collections.Immutable.IImmutableList<'T>
override this.System.Collections.Immutable.IImmutableList<T>.Add : 'T -> System.Collections.Immutable.IImmutableList<'T>
Function Add (value As T) As IImmutableList(Of T) Implements IImmutableList(Of T).Add

Parametry

value
T

Wartość do dodania.

Zwraca

Nowa lista z dodanym elementem.

Implementuje

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 IImmutableList<T> .

Dotyczy