WebPartZoneInstance RemoveWebPart Method Kentico 8.0 API Reference
Removes the web part instance from the schema.

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

Parameters

webPart
Type: CMS.PortalEngine WebPartInstance
Web part
removeNestedZones (Optional)
Type: OnlineSystem Boolean
If true, the nested zones of the web part are removed as well
See Also