Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WebPartCollection Constructor ()

 

Initializes an empty new instance of the WebPartCollection class.

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

public:
WebPartCollection()

The WebPartCollection constructor initializes an empty instance of the WebPartCollection class. The object itself is read-only and has no method to add individual WebPart controls to it; therefore, you will have little occasion to use this constructor.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft