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

Definition

Lägger till det angivna värdet i den här oföränderliga listan.

 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

Parametrar

value
T

Värdet som ska läggas till.

Returer

En ny lista med elementet tillagt.

Implementeringar

Kommentarer

Den här medlemmen är en explicit implementering av gränssnittsmedlemmar. Den kan endast användas när instansen ImmutableList<T> skickas till ett IImmutableList<T> gränssnitt.

Gäller för