TreeView.SetNodeDataItem(TreeNode, Object) 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 the data item for the specified TreeNode control.
protected:
void SetNodeDataItem(System::Web::UI::WebControls::TreeNode ^ node, System::Object ^ dataItem);
protected void SetNodeDataItem (System.Web.UI.WebControls.TreeNode node, object dataItem);
member this.SetNodeDataItem : System.Web.UI.WebControls.TreeNode * obj -> unit
Protected Sub SetNodeDataItem (node As TreeNode, dataItem As Object)
Parameters
Remarks
Use the SetNodeDataItem method to specify the data item for the specified TreeNode control.