TreeView.SetNodeDataPath(TreeNode, String) Method

Definition

Allows a derived class to set the data path for the specified TreeNode control.

C#
protected void SetNodeDataPath(System.Web.UI.WebControls.TreeNode node, string dataPath);

Parameters

node
TreeNode

The TreeNode to set.

dataPath
String

The data path for the TreeNode.

Remarks

Use the SetNodeDataPath method to set the data path for the specified TreeNode control.

Applies to

Product Versions
.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