BaseInfo InsertAsClone Method Kentico 8.0 API Reference
Inserts the object as a new object to the DB with inner data and structure (according to given settings) cloned from the original.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

settings
Type: CMS.DataEngine CloneSettings
Cloning settings
result
Type: CMS.DataEngine CloneResult
Result of the cloning - messages in this object will be altered by processing this method

Return Value

Type: BaseInfo
Returns the newly created clone
See Also