TreeViewEventArgs 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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)
参数
另请参阅
适用于
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)
参数
- action
- TreeViewAction
引发该事件的 TreeViewAction 的类型。