WebPartZoneBase.EditWebPart(WebPart) 方法

定义

开始编辑区域中选定的 WebPart 控件的过程。Initiates the process of editing a selected WebPart control in a zone.

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 控件。The WebPart control to be edited.

例外

webPartnullwebPart is null.

注解

方法只应由派生 WebPartZoneBase 区域(如 WebPartZone)使用。The method should only be used by derived WebPartZoneBase zones such as WebPartZone.

适用于

另请参阅