TreeViewCancelEventArgs(TreeNode, Boolean, TreeViewAction) 构造函数

定义

用指定的树节点、指定是否取消该事件的值以及引发该事件的树视图操作类型来初始化 TreeViewCancelEventArgs 类的新实例。

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

参数

node
TreeNode

该事件所响应的 TreeNode

cancel
Boolean

如果为 true,则取消事件;否则为 false

action
TreeViewAction

TreeViewAction 值之一,指示引发事件的操作的类型。

适用于