VersionManagerRestoreDocument Method |
Restores deleted node and returns the restored node.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax public TreeNode RestoreDocument(
int versionHistoryId,
TreeNode restNode = null
)
Parameters
- versionHistoryId
- Type: SystemInt32
ID of the version to be restored - restNode (Optional)
- Type: CMS.DocumentEngineTreeNode
Node to be restored
Return Value
Type:
TreeNodeSee Also