Contains Method
Determines whether the Dictionary contains an element with the key element of the specified key/value pair.
Syntax
public System.bool Contains(
System.Collections.Generic.KeyValuePair<KeyType,ValueType> item
)Public Function Contains( _
ByVal item As System.Collections.Generic.KeyValuePair(Of KeyType,ValueType) _
) As System.BooleanParameters
| Name | Description |
|---|---|
| item | The key/value pair whose key will be used to locate an item in the dictionary |
Return Value
true if the dictionary contains an element with the key