Click or drag to resize
WebPartInstanceClone Method
Clones the web part object (GUID stays the same when cloned).

Namespace: CMS.PortalEngine
Assembly: CMS.PortalEngine.Web.UI (in CMS.PortalEngine.Web.UI.dll) Version: 13.0.131
Syntax
C#
public WebPartInstance Clone(
	bool copyMacroTable = false
)

Parameters

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

Return Value

Type: WebPartInstance
See Also