Click or drag to resize
VersionManagerRestoreDocument Method
Restores deleted node and returns the restored node.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax
C#
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: TreeNode
See Also