TreeView.SetNodeDataPath(TreeNode, String) Method

Definition

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

protected:
 void SetNodeDataPath(System::Web::UI::WebControls::TreeNode ^ node, System::String ^ dataPath);
protected void SetNodeDataPath (System.Web.UI.WebControls.TreeNode node, string dataPath);
member this.SetNodeDataPath : System.Web.UI.WebControls.TreeNode * string -> unit
Protected Sub SetNodeDataPath (node As TreeNode, dataPath As String)

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

See also