ImmutableSortedDictionary<TKey,TValue>.Remove(TKey) Metod

Definition

Tar bort elementet med det angivna värdet från den oföränderliga sorterade ordlistan.

public:
 System::Collections::Immutable::ImmutableSortedDictionary<TKey, TValue> ^ Remove(TKey value);
public System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue> Remove(TKey value);
member this.Remove : 'Key -> System.Collections.Immutable.ImmutableSortedDictionary<'Key, 'Value>
Public Function Remove (value As TKey) As ImmutableSortedDictionary(Of TKey, TValue)

Parametrar

value
TKey

Värdet för elementet som ska tas bort.

Returer

En ny oföränderlig ordlista med det angivna elementet borttaget. eller den här instansen om det angivna värdet inte kan hittas i ordlistan.

Gäller för