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 組件控制項。

給繼承者的注意事項

因為這個方法受到保護並密封,所以繼承自 類別的 WebPartManager 類別可以看到它,但無法覆寫。

適用於