ImmutableDictionary<TKey,TValue>.IImmutableDictionary<TKey,TValue>.Remove 方法

定义

请参阅 IImmutableDictionary<TKey,TValue> 接口。

 virtual System::Collections::Immutable::IImmutableDictionary<TKey, TValue> ^ System.Collections.Immutable.IImmutableDictionary<TKey,TValue>.Remove(TKey key) = System::Collections::Immutable::IImmutableDictionary<TKey, TValue>::Remove;
System.Collections.Immutable.IImmutableDictionary<TKey,TValue> IImmutableDictionary<TKey,TValue>.Remove (TKey key);
abstract member System.Collections.Immutable.IImmutableDictionary<TKey,TValue>.Remove : 'Key -> System.Collections.Immutable.IImmutableDictionary<'Key, 'Value>
override this.System.Collections.Immutable.IImmutableDictionary<TKey,TValue>.Remove : 'Key -> System.Collections.Immutable.IImmutableDictionary<'Key, 'Value>
Function Remove (key As TKey) As IImmutableDictionary(Of TKey, TValue) Implements IImmutableDictionary(Of TKey, TValue).Remove

参数

key
TKey

要删除的项的键。

返回

已移除指定元素的新不可变字典;如果在字典中找不到指定的键,则为此实例。

实现

适用于