Partager via


ReadOnlyDictionary<TKey, TValue>.ICollection<KeyValuePair<TKey, TValue>>.Remove Method

Removes the specified item from this dictionary.

Namespace:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

Syntax

'Déclaration
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
)
private:
virtual bool Remove(
    KeyValuePair<TKey, TValue> item
) sealed = ICollection<KeyValuePair<TKey, TValue>>::Remove
private abstract Remove : 
        item:KeyValuePair<'TKey, 'TValue> -> bool 
private override Remove : 
        item:KeyValuePair<'TKey, 'TValue> -> bool 
JScript does not support explicit interface implementations.

Parameters

Return Value

Type: System.Boolean
True if the item was successfully removed from this dictionary; otherwise, false.

Implements

ICollection<T>.Remove(T)

.NET Framework Security

See Also

Reference

ReadOnlyDictionary<TKey, TValue> Class

Microsoft.TeamFoundation.Client Namespace