Click or drag to resize
DocumentHelperGetDocument Method (NodeSelectionParameters, TreeProvider)
Returns current document version. If versioning used, gets the current VersionHistory record, otherwise gets the record directly from the database.

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

Parameters

parameters
Type: CMS.DocumentEngineNodeSelectionParameters
Parameters for the node selection
tree
Type: CMS.DocumentEngineTreeProvider
TreeProvider to use

Return Value

Type: TreeNode
See Also