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: 11.0.0
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