TreeView.SetNodeDataBound(TreeNode, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET