Returns current document version. If versioning is 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
- documentId
 - Type: 
System Int32
Document ID to retrieve 
- tree
 - Type: CMS.DocumentEngine TreeProvider
TreeProvider to use for the DB access 
Return Value
Type: TreeNodeSee Also