ListViewHitTestInfo 构造函数

定义

初始化 ListViewHitTestInfo 类的新实例。

public:
 ListViewHitTestInfo(System::Windows::Forms::ListViewItem ^ hitItem, System::Windows::Forms::ListViewItem::ListViewSubItem ^ hitSubItem, System::Windows::Forms::ListViewHitTestLocations hitLocation);
public ListViewHitTestInfo (System.Windows.Forms.ListViewItem hitItem, System.Windows.Forms.ListViewItem.ListViewSubItem hitSubItem, System.Windows.Forms.ListViewHitTestLocations hitLocation);
public ListViewHitTestInfo (System.Windows.Forms.ListViewItem? hitItem, System.Windows.Forms.ListViewItem.ListViewSubItem? hitSubItem, System.Windows.Forms.ListViewHitTestLocations hitLocation);
new System.Windows.Forms.ListViewHitTestInfo : System.Windows.Forms.ListViewItem * System.Windows.Forms.ListViewItem.ListViewSubItem * System.Windows.Forms.ListViewHitTestLocations -> System.Windows.Forms.ListViewHitTestInfo
Public Sub New (hitItem As ListViewItem, hitSubItem As ListViewItem.ListViewSubItem, hitLocation As ListViewHitTestLocations)

参数

hitItem
ListViewItem

位于命中测试所指示的位置的 ListViewItem

hitSubItem
ListViewItem.ListViewSubItem

位于命中测试所指示的位置的 ListViewItem.ListViewSubItem

注解

参数hitItem``hitSubItem可以是 null

适用于