WebPartInstance Clone Method Kentico 8.1 API Reference
Clones the web part object (GUID stays the same when cloned).

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

Parameters

copyMacroTable (Optional)
Type: OnlineSystem Boolean
Indicates whether macro values should be cloned

Return Value

Type: WebPartInstance
See Also