BaseInfo InsertAsClone Method Kentico 8.1 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.1.5347.20411)

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