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

从此字典中移除指定的项目。

命名空间:  Microsoft.TeamFoundation.Client
程序集:  Microsoft.TeamFoundation.Client(在 Microsoft.TeamFoundation.Client.dll 中)

语法

声明
Private Function Remove ( _
    item As KeyValuePair(Of TKey, TValue) _
) As Boolean Implements ICollection(Of KeyValuePair(Of TKey, TValue)).Remove
bool ICollection<KeyValuePair<TKey, TValue>>.Remove(
    KeyValuePair<TKey, TValue> item
)

参数

返回值

类型:System.Boolean
如果项目从此字典,已成功移除了则为 true;否则,错误。

实现

ICollection<T>.Remove(T)

.NET Framework 安全性

请参阅

参考

ReadOnlyDictionary<TKey, TValue> 类

Microsoft.TeamFoundation.Client 命名空间