ESRI.ArcGIS.ADF.Web.UI.WebControls | |
AddNodeTree Method | |
See Also |
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > TreeViewPlusNodeCollection Class : AddNodeTree Method |
- node
- Node to add.
Visual Basic (Declaration) | |
---|---|
Public Sub AddNodeTree( _ ByVal node As TreeViewPlusNode _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public void AddNodeTree( TreeViewPlusNode node ) |
Parameters
- node
- Node to add.
Example of use: a page has two TreeViewPlus controls, one with nodes showing map
resources with layers and attribute fields as sub-nodes. The user may select a field
node in the first TreeViewPlus and move it to the other TreeViewPlus. The second
TreeViewPlus needs to include the layer and map resource nodes of the field in its tree
display. Using AddNodeTree will add the nodes for the map resource, layer and field to
the second TreeViewPlus. Note that it will not add nodes for other fields, layers or
resources, just the current field and its parent layer and resource.