DocumentHelper GetDocument Method (Int32, String, Boolean, TreeProvider)Kentico 8.1 API Reference
Returns current document version. If versioning used, gets the current VersionHistory record, if not, gets the record directly from the database.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

nodeId
Type: OnlineSystem Int32
Node ID to retrieve
cultureCode
Type: OnlineSystem String
Nodes culture code
combineWithDefaultCulture
Type: OnlineSystem Boolean
Indicates whether node in default culture should be returned if node in specified culture was not found.
tree
Type: CMS.DocumentEngine TreeProvider
TreeProvider to use

Return Value

Type: TreeNode
See Also