Click or drag to resize
DocumentHelperGetDocument Method (TreeNode, TreeProvider)
Returns the latest version of the document if versioning is used or the document itself otherwise.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax
C#
public static TreeNode GetDocument(
	TreeNode node,
	TreeProvider tree
)

Parameters

node
Type: CMS.DocumentEngineTreeNode
Document node
tree
Type: CMS.DocumentEngineTreeProvider
TreeProvider to use

Return Value

Type: TreeNode
See Also