Click or drag to resize
WebPartZoneInstanceRemoveWebPart Method
Removes the web part instance from the schema.

Namespace: CMS.PortalEngine
Assembly: CMS.PortalEngine (in CMS.PortalEngine.dll) Version: 8.2.23
Syntax
C#
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