TreeView.SetNodeDataBound(TreeNode, Boolean) Method

Definition

Consente a una classe derivata di stabilire se il controllo TreeNode specificato è un controllo con associazione a dati.Allows a derived class to set whether the specified TreeNode control is data-bound.

protected:
 void SetNodeDataBound(System::Web::UI::WebControls::TreeNode ^ node, bool dataBound);
protected void SetNodeDataBound (System.Web.UI.WebControls.TreeNode node, bool dataBound);
member this.SetNodeDataBound : System.Web.UI.WebControls.TreeNode * bool -> unit
Protected Sub SetNodeDataBound (node As TreeNode, dataBound As Boolean)

Parameters

node
TreeNode

Oggetto TreeNode da impostare.The TreeNode to set.

dataBound
Boolean

true per impostare il nodo come associato ai dati; in caso contrario, false.true to set the node as data-bound; otherwise, false.

Remarks

Usare il metodo SetNodeDataBound per indicare se il TreeNode specificato è associato a dati.Use the SetNodeDataBound method to indicate whether the specified TreeNode is data-bound.

Notes to Inheritors

Viene fornito il metodo SetNodeDataBound(TreeNode, Boolean) per consentire a un controllo derivato dal controllo TreeView di impostare la proprietà DataBound in un nodo.The SetNodeDataBound(TreeNode, Boolean) method is provided to allow a control that is derived from the TreeView control to set the DataBound property on a node.

Applies to

See also