ListViewItemSelectionChangedEventArgs(ListViewItem, Int32, Boolean) 构造函数

定义

初始化 ListViewItemSelectionChangedEventArgs 类的新实例。

public:
 ListViewItemSelectionChangedEventArgs(System::Windows::Forms::ListViewItem ^ item, int itemIndex, bool isSelected);
public ListViewItemSelectionChangedEventArgs (System.Windows.Forms.ListViewItem item, int itemIndex, bool isSelected);
public ListViewItemSelectionChangedEventArgs (System.Windows.Forms.ListViewItem? item, int itemIndex, bool isSelected);
new System.Windows.Forms.ListViewItemSelectionChangedEventArgs : System.Windows.Forms.ListViewItem * int * bool -> System.Windows.Forms.ListViewItemSelectionChangedEventArgs
Public Sub New (item As ListViewItem, itemIndex As Integer, isSelected As Boolean)

参数

item
ListViewItem

更改了选择状态的 ListViewItem

itemIndex
Int32

更改了选择状态的 ListViewItem 的索引。

isSelected
Boolean

如果为 true,则指示项的状态已更改为选定;如果为 false,则指示项的状态已更改为取消选定。

适用于