ImmutableDictionary<TKey,TValue>.IDictionary.Remove(Object) 方法

定义

从不可变字典对象中移除具有指定键的元素。Removes the element with the specified key from the immutable dictionary object.

 virtual void System.Collections.IDictionary.Remove(System::Object ^ key) = System::Collections::IDictionary::Remove;
void IDictionary.Remove (object key);
Sub Remove (key As Object) Implements IDictionary.Remove

参数

key
Object

要移除的元素的键。The key of the element to remove.

实现

注解

此成员是显式接口成员实现。This member is an explicit interface member implementation. 它只能在 ImmutableDictionary<TKey,TValue> 实例被强制转换为 IDictionary 接口时使用。It can be used only when the ImmutableDictionary<TKey,TValue> instance is cast to an IDictionary interface.

适用于