CopyMeta.

CopyMeta(string, string, string) Constructor

Summary

The specified object in fromKey is copied to toKey. If a format is provided, the fromKey value is processed through string.Format before being copied (if the existing value is a DateTime, the format is passed as the argument to ToString).
Assembly
Wyam.Core.dll
Namespace
Wyam.Core.Modules.Metadata
Containing Type
CopyMeta

Syntax

public CopyMeta(string fromKey, string toKey, string format = null)

Parameters

Name Type Description
fromKey string The metadata key to copy from.
toKey string The metadata key to copy to.
format string The formatting to apply to the new value.

Return Value

Type Description
void
GitHub