共用方式為


TabControlEventArgs(TabPage, Int32, TabControlAction) 建構函式

定義

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

public:
 TabControlEventArgs(System::Windows::Forms::TabPage ^ tabPage, int tabPageIndex, System::Windows::Forms::TabControlAction action);
public TabControlEventArgs (System.Windows.Forms.TabPage tabPage, int tabPageIndex, System.Windows.Forms.TabControlAction action);
public TabControlEventArgs (System.Windows.Forms.TabPage? tabPage, int tabPageIndex, System.Windows.Forms.TabControlAction action);
new System.Windows.Forms.TabControlEventArgs : System.Windows.Forms.TabPage * int * System.Windows.Forms.TabControlAction -> System.Windows.Forms.TabControlEventArgs
Public Sub New (tabPage As TabPage, tabPageIndex As Integer, action As TabControlAction)

參數

tabPage
TabPage

發生事件的 TabPage

tabPageIndex
Int32

TabPages 集合中 tabPage 之以零起始的索引。

action
TabControlAction

其中一個 TabControlAction 值。

備註

新建立之實例的屬性值會初始化為指定的參數值。

適用於

另請參閱