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.

EditorPartCollection Constructor ()

 

Initializes an empty new instance of the EditorPartCollection class.

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

public:
EditorPartCollection()

The EditorPartCollection constructor initializes an empty instance of the EditorPartCollection class. This overload of the constructor is used internally by the EditorZone class in its CreateEditorParts method to create an empty collection object. The zone then creates instances of all the EditorPart controls declared in the child zone template, and uses an internal method to add them to the collection.

You cannot use this overload of the EditorPartCollection constructor to create a new instance of EditorPartCollection and add EditorPart controls to it. You must use one of the other overloads for the EditorPartCollection constructor instead.

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