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.1.5347.20411)
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