TryGetRaw(string, object) Method
Tries to get the raw value for the specified key. This method will not materialize IMetadataValue values or process script strings the way the TryGetValue<TValue>(IMetadata, string, TValue) extension and other get methods will. A System.Collections.Generic.KeyNotFoundException will be thrown for missing keys.
Namespace
Statiq.Common
Containing Type
FilteredMetadata
Implements

Syntax

public bool TryGetRaw(string key, out object value)

Parameters

Name Type Description
key string The key of the value to get.
value object The value of the key if it was found.

Return Value

Type Description
bool true if the key was found, false otherwise.