共用方式為


WebPartEventArgs(WebPart) 建構函式

定義

初始化 WebPartEventArgs 類別的新執行個體。

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

參數

webPart
WebPart

事件中所包含的 WebPart (或伺服器或使用者控制項)。

適用於