This documentation is archived and is not being maintained.
WebPartZoneCollection Constructor
Visual Studio 2010
Initializes a new instance of the WebPartZoneCollection class.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
WebPartZoneCollection() | Initializes an empty instance of the WebPartZoneCollection class. |
|
WebPartZoneCollection(ICollection) | 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.
Show: