ItemCheckEventArgs(Int32, CheckState, CheckState) 建構函式

定義

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

public:
 ItemCheckEventArgs(int index, System::Windows::Forms::CheckState newCheckValue, System::Windows::Forms::CheckState currentValue);
public ItemCheckEventArgs (int index, System.Windows.Forms.CheckState newCheckValue, System.Windows.Forms.CheckState currentValue);
new System.Windows.Forms.ItemCheckEventArgs : int * System.Windows.Forms.CheckState * System.Windows.Forms.CheckState -> System.Windows.Forms.ItemCheckEventArgs
Public Sub New (index As Integer, newCheckValue As CheckState, currentValue As CheckState)

參數

index
Int32

要變更項目之以零為起始的索引。

newCheckValue
CheckState

其中一個 CheckState 值,指出項目的核取方塊是否變更為已核取、未核取或不定。

currentValue
CheckState

其中一個 CheckState 值,指出項目的核取方塊目前是已核取、未核取或不定。

適用於

另請參閱