WebPartZoneInstance RemoveWebPart Method Kentico 8.1 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.1.5347.20411)

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