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 型別。