DocumentHelperGetDocument Method (Int32, String, TreeProvider) |
Returns current document version. If versioning used, gets the current VersionHistory record, otherwise gets the record directly from the database.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax public static TreeNode GetDocument(
int nodeId,
string cultureCode,
TreeProvider tree
)
Parameters
- nodeId
- Type: SystemInt32
Node ID to retrieve - cultureCode
- Type: SystemString
Nodes culture code - tree
- Type: CMS.DocumentEngineTreeProvider
TreeProvider to use
Return Value
Type:
TreeNodeSee Also