語言

WebPartManager.CreateControlCollection 方法

定義

回傳網頁上所有由控制 WebPartManager 項管理的控制項集合。 此類別無法獲得繼承。

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

傳回

ControlCollection由控制項管理WebPartManager的所有各種 Web Parts 控制項組成。

給繼承者的注意事項

由於此方法受到保護與封存,繼承該類別的類別 WebPartManager 可見,但無法覆寫。

適用於