DocumentHelper InsertNewCultureVersion Method (TreeNode, TreeProvider, String, Boolean, Boolean)Kentico 8.1 API Reference
Inserts a new document culture version.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

node
Type: CMS.DocumentEngine TreeNode
Document node
tree
Type: CMS.DocumentEngine TreeProvider
TreeProvider to use
cultureCode
Type: OnlineSystem String
Culture code of new culture version (If not specified, node.DocumentCulture property is used.)
createVersion (Optional)
Type: OnlineSystem Boolean
Create a new version for document under workflow.
allowCheckOut (Optional)
Type: OnlineSystem Boolean
If true, document check out is allowed on the insert action.
See Also