편집

다음을 통해 공유


TreeNodeEventArgs(TreeNode) Constructor

Definition

Initializes a new instance of the TreeNodeEventArgs class using the specified TreeNode object.

public:
 TreeNodeEventArgs(System::Web::UI::WebControls::TreeNode ^ node);
public TreeNodeEventArgs (System.Web.UI.WebControls.TreeNode node);
new System.Web.UI.WebControls.TreeNodeEventArgs : System.Web.UI.WebControls.TreeNode -> System.Web.UI.WebControls.TreeNodeEventArgs
Public Sub New (node As TreeNode)

Parameters

node
TreeNode

A TreeNode that represents the current node when the event is raised.

Remarks

Use the TreeNodeEventArgs constructor to create and initialize a new instance of the TreeNodeEventArgs class.

Note

The TreeNodeEventArgs constructor is used primarily by control developers when raising events.

The following table shows the initial property value for an instance of the TreeNodeEventArgs class.

Property Initial value
Node The TreeNode contained in node.

Applies to

See also