共用方式為


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

位在點擊測試 (Hit Test) 所指出之位置的 ListViewItem

hitSubItem
ListViewItem.ListViewSubItem

位在點擊測試 (Hit Test) 所指出之位置的 ListViewItem.ListViewSubItem

hitLocation
ListViewHitTestLocations

其中一個 ListViewHitTestLocations 值。

備註

hitItemhitSubItem 參數可以是 null

適用於