EditorPart.WebPartManager 屬性

定義

取得與目前 Web 網頁相關聯 WebPartManager 之控制項的參考。

protected:
 property System::Web::UI::WebControls::WebParts::WebPartManager ^ WebPartManager { System::Web::UI::WebControls::WebParts::WebPartManager ^ get(); };
protected System.Web.UI.WebControls.WebParts.WebPartManager WebPartManager { get; }
member this.WebPartManager : System.Web.UI.WebControls.WebParts.WebPartManager
Protected ReadOnly Property WebPartManager As WebPartManager

屬性值

WebPartManager

網頁上 WebPartManager 的參考。

備註

控制項 EditorPart 需要 實例的 WebPartManager 參考,因為它必須檢查頁面目前的個人化範圍,以判斷 屬性的值 Display 。 個人化範圍是藉由檢查 Scope 透過 屬性存取的屬性 Personalization 來決定。

適用於

另請參閱