Determines whether the collection contains a specific key and value.
Namespace: Mindscape.SilverlightElementsAssembly: Mindscape.SilverlightElements (in Mindscape.SilverlightElements.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
C# |
---|
public bool Contains( KeyValuePair<TKey, TValue> item ) |
Visual Basic |
---|
Public Function Contains ( _ item As KeyValuePair(Of TKey, TValue) _ ) As Boolean |
Visual C++ |
---|
public: virtual bool Contains( KeyValuePair<TKey, TValue> item ) sealed |
Parameters
- item
- Type: System.Collections.Generic..::..KeyValuePair<(Of <(<'TKey, TValue>)>)>
The key-value pair to locate in the collection.