TreeNodeGetRelatedDocuments Method |
Retrieves an enumerable collection of documents related to the current document with the relationship name given by specified field.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 9.0.0
Syntax protected IEnumerable<TreeNode> GetRelatedDocuments(
string fieldName
)
Parameters
- fieldName
- Type: SystemString
The field name.
Return Value
Type:
IEnumerableTreeNodeAn 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