TreeViewEventArgs 构造函数

定义

初始化 TreeViewEventArgs 类的新实例。

重载

TreeViewEventArgs(TreeNode)

为指定的树节点初始化 TreeViewEventArgs 类的新实例。

TreeViewEventArgs(TreeNode, TreeViewAction)

用引发该事件的指定操作类型为指定的树节点初始化 TreeViewEventArgs 类的新实例。

TreeViewEventArgs(TreeNode)

为指定的树节点初始化 TreeViewEventArgs 类的新实例。

public:
 TreeViewEventArgs(System::Windows::Forms::TreeNode ^ node);
public TreeViewEventArgs (System.Windows.Forms.TreeNode node);
public TreeViewEventArgs (System.Windows.Forms.TreeNode? node);
new System.Windows.Forms.TreeViewEventArgs : System.Windows.Forms.TreeNode -> System.Windows.Forms.TreeViewEventArgs
Public Sub New (node As TreeNode)

参数

node
TreeNode

该事件所响应的 TreeNode

另请参阅

适用于

TreeViewEventArgs(TreeNode, TreeViewAction)

用引发该事件的指定操作类型为指定的树节点初始化 TreeViewEventArgs 类的新实例。

public:
 TreeViewEventArgs(System::Windows::Forms::TreeNode ^ node, System::Windows::Forms::TreeViewAction action);
public TreeViewEventArgs (System.Windows.Forms.TreeNode node, System.Windows.Forms.TreeViewAction action);
public TreeViewEventArgs (System.Windows.Forms.TreeNode? node, System.Windows.Forms.TreeViewAction action);
new System.Windows.Forms.TreeViewEventArgs : System.Windows.Forms.TreeNode * System.Windows.Forms.TreeViewAction -> System.Windows.Forms.TreeViewEventArgs
Public Sub New (node As TreeNode, action As TreeViewAction)

参数

node
TreeNode

该事件所响应的 TreeNode

action
TreeViewAction

引发该事件的 TreeViewAction 的类型。

适用于