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
.Testing .dll - Namespace
- Wyam
.Testing .Documents - Containing Type
- TestDocument
Syntax
public 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. |