TryGetValue(string, object) Method
Attempts to get a value from metadata.
Namespace
Statiq.Common
Containing Type
IMetadataDictionary

Syntax

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.