Whether or not the metadata contains the specified key.
- Namespace
- Statiq
.Common - Containing Type
- ConvertingDictionary
- Implements
-
- IMetadataDictionary.ContainsKey
(string) - IDictionary
<string, object> .ContainsKey (string) - IReadOnlyDictionary
<string, object> .ContainsKey (string)
- IMetadataDictionary.ContainsKey
Syntax
public bool ContainsKey(string key)
Parameters
Name | Type | Description |
---|---|---|
key | string | The key. |
Return Value
Type | Description |
---|---|
bool | true if the key is contained in metadata, false otherwise. |