TreeNodeEventArgs(TreeNode) Constructor

Definition

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

C#
public TreeNodeEventArgs(System.Web.UI.WebControls.TreeNode node);

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.

备注

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

产品 版本
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also