編輯

共用方式為


ImmutableDictionary<TKey,TValue>.IDictionary.Clear Method

Definition

Clears this instance.

 virtual void System.Collections.IDictionary.Clear() = System::Collections::IDictionary::Clear;
void IDictionary.Clear ();
abstract member System.Collections.IDictionary.Clear : unit -> unit
override this.System.Collections.IDictionary.Clear : unit -> unit
Sub Clear () Implements IDictionary.Clear

Implements

Exceptions

The dictionary object is read-only.

Remarks

This member is an explicit interface member implementation. It can be used only when the ImmutableDictionary<TKey,TValue> instance is cast to an IDictionary interface.

Applies to