WebPartCancelEventArgs(WebPart) 构造函数

定义

初始化 WebPartCancelEventArgs 类的新实例。

public:
 WebPartCancelEventArgs(System::Web::UI::WebControls::WebParts::WebPart ^ webPart);
public WebPartCancelEventArgs (System.Web.UI.WebControls.WebParts.WebPart webPart);
new System.Web.UI.WebControls.WebParts.WebPartCancelEventArgs : System.Web.UI.WebControls.WebParts.WebPart -> System.Web.UI.WebControls.WebParts.WebPartCancelEventArgs
Public Sub New (webPart As WebPart)

参数

webPart
WebPart

事件涉及的 WebPart(或者服务器控件或用户控件)。

适用于