Editar

Compartilhar via


ListViewHitTestInfo Constructor

Definition

Initializes a new instance of the ListViewHitTestInfo class.

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)

Parameters

hitItem
ListViewItem

The ListViewItem located at the position indicated by the hit test.

hitSubItem
ListViewItem.ListViewSubItem

The ListViewItem.ListViewSubItem located at the position indicated by the hit test.

hitLocation
ListViewHitTestLocations

One of the ListViewHitTestLocations values.

Remarks

The hitItem and hitSubItem parameters can be null.

Applies to