Method ContainsKey
ContainsKey(string)
Determines whether the collection contains an element with the specified key.
Declaration
bool ContainsKey(string key)
Parameters
Type | Name | Description |
---|---|---|
string | key | The key to locate in the collection. |
Returns
Type | Description |
---|---|
bool | true if the collection contains an element with the key; otherwise, false. |