Delen via


ReadOnlyDictionary<TKey, TValue>.IDictionary<TKey, TValue>.Remove Method

Removes the item that has the specified key from this dictionary.

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

Syntax

'Declaration
Private Function Remove ( _
    key As TKey _
) As Boolean Implements IDictionary(Of TKey, TValue).Remove
bool IDictionary<TKey, TValue>.Remove(
    TKey key
)
private:
virtual bool Remove(
    TKey key
) sealed = IDictionary<TKey, TValue>::Remove
private abstract Remove : 
        key:'TKey -> bool  
private override Remove : 
        key:'TKey -> bool
JScript does not support explicit interface implementations.

Parameters

  • key
    Type: TKey

    The key of the item to remove from this dictionary.

Return Value

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

Implements

IDictionary<TKey, TValue>.Remove(TKey)

.NET Framework Security

See Also

Reference

ReadOnlyDictionary<TKey, TValue> Class

Microsoft.TeamFoundation.Client Namespace