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: 8.0.0.0 (8.0.5239.26125)
Parameters
- parameters
 - Type: CMS.DocumentEngine NodeSelectionParameters
Parameters for the node selection 
- tree
 - Type: CMS.DocumentEngine TreeProvider
TreeProvider to use 
Return Value
Type: TreeNodeSee Also