Export (0) Print
Expand All

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft