ImmutableSortedDictionary<TKey,TValue>.Remove(TKey) 方法

定義

將具有指定值的元素從不可變排序字典移除。

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)

參數

value
TKey

要移除的元素值。

傳回

已移除指定元素之新的不可變字典;或者如果字典中找不到指定的值,則為此執行個體。

適用於