Click or drag to resize
TreeNodeGetRelatedDocuments Method
Retrieves an enumerable collection of documents related to the current document with the relationship name given by specified field.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax
C#
protected IEnumerable<TreeNode> GetRelatedDocuments(
	string fieldName
)

Parameters

fieldName
Type: SystemString
The field name.

Return Value

Type: IEnumerableTreeNode
An enumerable collection of documents related to the current document with the relationship name given by specified field.
Remarks
This method returns an empty collection if the specified field does not exist or there are no associated related pages.
See Also