WebPartZoneInstanceRemoveWebPart Method |
Removes the web part instance from the schema.
Namespace: CMS.PortalEngineAssembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 8.2.23
Syntax public void RemoveWebPart(
WebPartInstance webPart,
bool removeNestedZones = true
)
Parameters
- webPart
- Type: CMS.PortalEngineWebPartInstance
Web part - removeNestedZones (Optional)
- Type: SystemBoolean
If true, the nested zones of the web part are removed as well
See Also