TreeViewEventArgs TreeViewEventArgs TreeViewEventArgs TreeViewEventArgs Constructors

定义

重载

TreeViewEventArgs(TreeNode) TreeViewEventArgs(TreeNode) TreeViewEventArgs(TreeNode) TreeViewEventArgs(TreeNode)

为指定的树节点初始化 TreeViewEventArgs 类的新实例。Initializes a new instance of the TreeViewEventArgs class for the specified tree node.

TreeViewEventArgs(TreeNode, TreeViewAction) TreeViewEventArgs(TreeNode, TreeViewAction) TreeViewEventArgs(TreeNode, TreeViewAction) TreeViewEventArgs(TreeNode, TreeViewAction)

用引发该事件的指定操作类型为指定的树节点初始化 TreeViewEventArgs 类的新实例。Initializes a new instance of the TreeViewEventArgs class for the specified tree node and with the specified type of action that raised the event.

TreeViewEventArgs(TreeNode) TreeViewEventArgs(TreeNode) TreeViewEventArgs(TreeNode) TreeViewEventArgs(TreeNode)

为指定的树节点初始化 TreeViewEventArgs 类的新实例。Initializes a new instance of the TreeViewEventArgs class for the specified tree 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 TreeNode TreeNode

该事件所响应的 TreeNodeThe TreeNode that the event is responding to.

另请参阅

TreeViewEventArgs(TreeNode, TreeViewAction) TreeViewEventArgs(TreeNode, TreeViewAction) TreeViewEventArgs(TreeNode, TreeViewAction) TreeViewEventArgs(TreeNode, TreeViewAction)

用引发该事件的指定操作类型为指定的树节点初始化 TreeViewEventArgs 类的新实例。Initializes a new instance of the TreeViewEventArgs class for the specified tree node and with the specified type of action that raised the event.

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 TreeNode TreeNode

该事件所响应的 TreeNodeThe TreeNode that the event is responding to.

action
TreeViewAction TreeViewAction TreeViewAction TreeViewAction

引发该事件的 TreeViewAction 的类型。The type of TreeViewAction that raised the event.

适用于