TreeView.SetNodeDataPath(TreeNode, String) Method

Definition

Consente a una classe derivata di impostare il percorso di dati per il controllo TreeNode specificato.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

Oggetto TreeNode da impostare.The TreeNode to set.

dataPath
String

Percorso dati dell'elemento TreeNode.The data path for the TreeNode.

Remarks

Usare il metodo SetNodeDataPath per impostare il percorso dei dati per il controllo di TreeNode specificato.Use the SetNodeDataPath method to set the data path for the specified TreeNode control.

Applies to

See also