Attempts to get a value from metadata.
- Namespace
- Statiq
.Common - Containing Type
- ConvertingDictionary
- Implements
-
- IMetadataDictionary.TryGetValue
(string, object) - IDictionary
<string, object> .TryGetValue (string, object) - IReadOnlyDictionary
<string, object> .TryGetValue (string, object)
- IMetadataDictionary.TryGetValue
Syntax
public bool TryGetValue(string key, out object value)
Parameters
Name | Type | Description |
---|---|---|
key | string | The metadata key. |
value | object | The metadata value. |
Return Value
Type | Description |
---|---|
bool | true if the key is contained in metadata, false otherwise. |