TreeViewEventArgs Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the TreeViewEventArgs class.
Overloads
TreeViewEventArgs(TreeNode) |
Initializes a new instance of the TreeViewEventArgs class for the specified tree node. |
TreeViewEventArgs(TreeNode, TreeViewAction) |
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)
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);
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)
Parameters
See also
Applies to
TreeViewEventArgs(TreeNode, TreeViewAction)
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);
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)
Parameters
- action
- TreeViewAction
The type of TreeViewAction that raised the event.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應