Tree.

WithMetadataNames(string, string, string, string, string, string, string) Method

Summary

Changes the default metadata keys.
Assembly
Wyam.Core.dll
Namespace
Wyam.Core.Modules.Metadata
Containing Type
Tree

Syntax

public Tree WithMetadataNames(string parentKey = "Parent", string childrenKey = "Children", string previousSiblingKey = "PreviousSibling", string nextSiblingKey = "NextSibling", string previousKey = "Previous", string nextKey = "Next", string treePathKey = "TreePath")

Parameters

Name Type Description
parentKey string The metadata key where parent documents should be stored.
childrenKey string The metadata key where child documents should be stored.
previousSiblingKey string The metadata key where the previous sibling document should be stored.
nextSiblingKey string The metadata key where the next sibling document should be stored.
previousKey string The metadata key where the previous document should be stored.
nextKey string The metadata key where the next document should be stored.
treePathKey string The metadata key where the tree path should be stored.

Return Value

Type Description
Tree The current module instance.
GitHub