ReadOnlyDictionary<TKey, TValue>.IDictionary.Contains Method

Checks whether the specified key is located in this dictionary.

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

Syntax

'Declaration
Private Function Contains ( _
    key As Object _
) As Boolean Implements IDictionary.Contains
bool IDictionary.Contains(
    Object key
)
private:
virtual bool Contains(
    Object^ key
) sealed = IDictionary::Contains
private abstract Contains : 
        key:Object -> bool  
private override Contains : 
        key:Object -> bool
JScript does not support explicit interface implementations.

Parameters

Return Value

Type: System.Boolean
True if the specified key is located in this dictionary; otherwise, false.

Implements

IDictionary.Contains(Object)

.NET Framework Security

See Also

Reference

ReadOnlyDictionary<TKey, TValue> Class

Microsoft.TeamFoundation.Client Namespace