[]
Returns a value that indicates whether the collection contains an item with the given key value.
bool ContainsKey(object key)
Type | Name | Description |
---|---|---|
object | key | The key value to search for |
Type | Description |
---|---|
bool | true if the collection contains an element with the specified key value; otherwise, false. |