WebPartInstanceClone Method |
Clones the web part object (GUID stays the same when cloned).
Namespace: CMS.PortalEngineAssembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 8.2.23
Syntax public WebPartInstance Clone(
bool copyMacroTable = false
)
Parameters
- copyMacroTable (Optional)
- Type: SystemBoolean
Indicates whether macro values should be cloned
Return Value
Type:
WebPartInstanceSee Also