編輯

共用方式為


TreeViewHitTestInfo(TreeNode, TreeViewHitTestLocations) Constructor

Definition

Initializes a new instance of the TreeViewHitTestInfo class.

public:
 TreeViewHitTestInfo(System::Windows::Forms::TreeNode ^ hitNode, System::Windows::Forms::TreeViewHitTestLocations hitLocation);
public TreeViewHitTestInfo (System.Windows.Forms.TreeNode hitNode, System.Windows.Forms.TreeViewHitTestLocations hitLocation);
public TreeViewHitTestInfo (System.Windows.Forms.TreeNode? hitNode, System.Windows.Forms.TreeViewHitTestLocations hitLocation);
new System.Windows.Forms.TreeViewHitTestInfo : System.Windows.Forms.TreeNode * System.Windows.Forms.TreeViewHitTestLocations -> System.Windows.Forms.TreeViewHitTestInfo
Public Sub New (hitNode As TreeNode, hitLocation As TreeViewHitTestLocations)

Parameters

hitNode
TreeNode

The tree node located at the position indicated by the hit test.

hitLocation
TreeViewHitTestLocations

One of the TreeViewHitTestLocations values.

Remarks

The hitNode parameter can be null.

Applies to