共用方式為


WebPartMovingEventArgs(WebPart, WebPartZoneBase, Int32) 建構函式

定義

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

public:
 WebPartMovingEventArgs(System::Web::UI::WebControls::WebParts::WebPart ^ webPart, System::Web::UI::WebControls::WebParts::WebPartZoneBase ^ zone, int zoneIndex);
public WebPartMovingEventArgs (System.Web.UI.WebControls.WebParts.WebPart webPart, System.Web.UI.WebControls.WebParts.WebPartZoneBase zone, int zoneIndex);
new System.Web.UI.WebControls.WebParts.WebPartMovingEventArgs : System.Web.UI.WebControls.WebParts.WebPart * System.Web.UI.WebControls.WebParts.WebPartZoneBase * int -> System.Web.UI.WebControls.WebParts.WebPartMovingEventArgs
Public Sub New (webPart As WebPart, zone As WebPartZoneBase, zoneIndex As Integer)

參數

webPart
WebPart

正在移動的 WebPart 或其他伺服器控制項。

zone
WebPartZoneBase

webPart 正在移至的目標 WebPartZoneBase

zoneIndex
Int32

整數,表示 webPart 的索引,相對於 zone 中的其他控制項。

適用於