Method ContainsKey
ContainsKey(string)
Check if this collection contains the given key.
Declaration
public bool ContainsKey(string key)
Parameters
| Type | Name | Description |
|---|---|---|
| string | key | The key to search for. |
Returns
| Type | Description |
|---|---|
| bool | Returns true if this collection contains the given key, otherwise returns false. |