共用方式為


WebPartZoneBase.EditWebPart(WebPart) 方法

定義

啟始編輯區域中已選取 WebPart 控制項的處理序。

protected:
 virtual void EditWebPart(System::Web::UI::WebControls::WebParts::WebPart ^ webPart);
protected virtual void EditWebPart (System.Web.UI.WebControls.WebParts.WebPart webPart);
abstract member EditWebPart : System.Web.UI.WebControls.WebParts.WebPart -> unit
override this.EditWebPart : System.Web.UI.WebControls.WebParts.WebPart -> unit
Protected Overridable Sub EditWebPart (webPart As WebPart)

參數

webPart
WebPart

要編輯的 WebPart 控制項。

例外狀況

webPartnull

備註

方法應該只供衍生 WebPartZoneBase 區域使用,例如 WebPartZone

適用於

另請參閱