GetRaw(IMetadata, string) Method
Gets the raw value for the specified key. This method will not materialize IMetadataValue values the way other get methods will. A System.Collections.Generic.KeyNotFoundException will be thrown for missing keys.
Namespace
Statiq.Common
Containing Type
IMetadataGetExtensions

Syntax

public static object GetRaw(this IMetadata metadata, string key)

Parameters

Name Type Description
metadata IMetadata The metadata instance.
key string The key of the value to get.

Return Value

Type Description
object The raw value for the specified key.