共用方式為


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 (或伺服器或使用者控制項)。

適用於