ItemCheckEventArgs(Int32, CheckState, CheckState) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 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其中一個值表示該項目的勾選框目前是勾選、未勾選或不確定。