This documentation is archived and is not being maintained.

WebPartManager.CreateControlCollection Method

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

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

protected override sealed ControlCollection CreateControlCollection ()
protected final ControlCollection CreateControlCollection ()
protected override final function CreateControlCollection () : ControlCollection
Not applicable.

Return Value

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.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0