IMetadata.

GetMetadata(string[]) Method

Summary

Gets a new Wyam.Common.Meta.IMetadata containing only the specified keys and their values. If a key is not present in the current metadata, it will be ignored and will not be copied to the new metadata object.
Assembly
Wyam.Common.dll
Namespace
Wyam.Common.Meta
Containing Type
IMetadata

Syntax

IMetadata GetMetadata(params string[] keys)

Parameters

Name Type Description
keys string[] The keys to include in the new metadata object.

Return Value

Type Description
IMetadata A new Wyam.Common.Meta.IMetadata containing the specified keys and their values.
GitHub