ImmutableSortedDictionary<TKey,TValue>.IDictionary.Clear 方法

定义

清除此实例。Clears this instance.

 virtual void System.Collections.IDictionary.Clear() = System::Collections::IDictionary::Clear;
void IDictionary.Clear ();
Sub Clear () Implements IDictionary.Clear

实现

异常

字典对象为只读。The dictionary object is read-only.

注解

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

适用于