TreeViewCancelEventArgs(TreeNode, Boolean, TreeViewAction) コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定したツリー ノード、イベントを取り消すかどうかを指定する値、およびイベントを発生させたツリー ビュー アクションの種類を使用して、 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)
パラメーター
- cancel
- Boolean
true イベントを取り消す場合。それ以外の場合は false。
- action
- TreeViewAction
イベントを発生させたアクションの種類を示す TreeViewAction 値の 1 つ。