TreeView::SetNodeDataPath Method (TreeNode^, String^)

 

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

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

protected:
void SetNodeDataPath(
	TreeNode^ node,
	String^ dataPath
)

Parameters

node
Type: System.Web.UI.WebControls::TreeNode^

The TreeNode to set.

dataPath
Type: System::String^

The data path for the TreeNode.

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

.NET Framework
Available since 2.0
Return to top
Show: