ReadOnlyDictionary<TKey, TValue>.ICollection<KeyValuePair<TKey, TValue>>.Contains Method
Checks whether the specified item is located in this dictionary.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Private Function Contains ( _
item As KeyValuePair(Of TKey, TValue) _
) As Boolean Implements ICollection(Of KeyValuePair(Of TKey, TValue)).Contains
bool ICollection<KeyValuePair<TKey, TValue>>.Contains(
KeyValuePair<TKey, TValue> item
)
private:
virtual bool Contains(
KeyValuePair<TKey, TValue> item
) sealed = ICollection<KeyValuePair<TKey, TValue>>::Contains
private abstract Contains :
item:KeyValuePair<'TKey, 'TValue> -> bool
private override Contains :
item:KeyValuePair<'TKey, 'TValue> -> bool
JScript does not support explicit interface implementations.
Parameters
item
Type: System.Collections.Generic.KeyValuePair<TKey, TValue>The item to search for.
Return Value
Type: System.Boolean
True if the specified item is located in this dictionary; otherwise, false.
Implements
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.