ReadOnlyDictionary<TKey,TValue>.ICollection<KeyValuePair<TKey,TValue>>.Clear 方法

定义

在所有情况下都会引发 NotSupportedException 异常。

 virtual void System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.Clear() = System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<TKey, TValue>>::Clear;
void ICollection<KeyValuePair<TKey,TValue>>.Clear ();
abstract member System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.Clear : unit -> unit
override this.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.Clear : unit -> unit
Sub Clear () Implements ICollection(Of KeyValuePair(Of TKey, TValue)).Clear

实现

例外

在所有情况下。

适用于