TreeViewHitTestInfo(TreeNode, TreeViewHitTestLocations) 构造函数

定义

初始化 TreeViewHitTestInfo 类的新实例。

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)

参数

hitNode
TreeNode

位于命中测试所指示的位置的树节点。

注解

参数 hitNode 可以是 null.

适用于