DocumentHelperUpdateDocument Method |
Updates the current version of the document within the database. If versioning is used, updates the last version within the VersionHistory, otherwise updates directly the database document record.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax public static void UpdateDocument(
TreeNode node,
TreeProvider tree = null,
string updateColumns = null
)
Parameters
- node
- Type: CMS.DocumentEngineTreeNode
Document to update - tree (Optional)
- Type: CMS.DocumentEngineTreeProvider
TreeProvider to use - updateColumns (Optional)
- Type: SystemString
List of columns which should be updated explicitly (separated by ';')
See Also