ערוך

שתף באמצעות


TreeView.SetNodeDataBound(TreeNode, Boolean) Method

Definition

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

The TreeNode to set.

dataBound
Boolean

true to set the node as data-bound; otherwise, false.

Remarks

Use the SetNodeDataBound method to indicate whether the specified TreeNode is data-bound.

Notes to Inheritors

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