ReadOnlyDictionary<TKey,TValue>.IDictionary<TKey,TValue>.Remove 方法

定义

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

 virtual bool System.Collections.Generic.IDictionary<TKey,TValue>.Remove(TKey key) = System::Collections::Generic::IDictionary<TKey, TValue>::Remove;
bool IDictionary<TKey,TValue>.Remove(TKey key);
abstract member System.Collections.Generic.IDictionary<TKey,TValue>.Remove : 'Key -> bool
override this.System.Collections.Generic.IDictionary<TKey,TValue>.Remove : 'Key -> bool
Function Remove (key As TKey) As Boolean Implements IDictionary(Of TKey, TValue).Remove

参数

key
TKey

要删除的元素的键。

返回

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

实现

例外

在所有情况下。

适用于