WebPartZoneCollection Constructor


Initializes a new instance of the WebPartZoneCollection class.

Namespace:   System.Web.UI.WebControls.WebParts
Assembly:  System.Web (in System.Web.dll)


Initializes an empty instance of the WebPartZoneCollection class.


Initializes an instance of the WebPartZoneCollection class by passing in a collection of WebPartZone objects.

The WebPartZoneCollection constructor is used by the WebPartManager control, by other controls in the Web Parts control set, or by custom developer code, to create a read-only collection of the WebPartZone controls that exist on a Web Parts page.

Return to top