Modifier

Partager via


WebPartManager.CreateControlCollection Method

Definition

Returns the collection of all controls that are managed by the WebPartManager control on a Web page. This class cannot be inherited.

protected:
 override System::Web::UI::ControlCollection ^ CreateControlCollection();
protected override sealed System.Web.UI.ControlCollection CreateControlCollection ();
override this.CreateControlCollection : unit -> System.Web.UI.ControlCollection
Protected Overrides NotOverridable Function CreateControlCollection () As ControlCollection

Returns

A ControlCollection consisting of all the various Web Parts controls managed by the WebPartManager control.

Notes to Inheritors

Because this method is protected and sealed, it is visible to classes that inherit from the WebPartManager class, but it cannot be overridden.

Applies to