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: