ESRI.ArcGIS.ADF.Web.UI.WebControls
FindNodeByValuePath Method
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > TreeViewPlus Class : FindNodeByValuePath Method




valuePath
Path to the node using node values.
Searches for a node in the tree with a specified value path.

Syntax

Visual Basic (Declaration) 
Public Function FindNodeByValuePath( _
   ByVal valuePath As String _
) As TreeViewPlusNode
Visual Basic (Usage)Copy Code
Dim instance As TreeViewPlus
Dim valuePath As String
Dim value As TreeViewPlusNode
 
value = instance.FindNodeByValuePath(valuePath)
C# 
public TreeViewPlusNode FindNodeByValuePath( 
   string valuePath
)

Parameters

valuePath
Path to the node using node values.

Return Value

TreeViewPlusNode if found, null if no matching node found.

Remarks

To search for a node, specify the full path to the node. For nodes at the root of the tree, use the node's Value. For child nodes, prefix with parent nodes to the node, separating values with the ValuePathSeparator. For example, if the node has a Value of "Layer2" and the node is a child of a node with a Value of "Main", the value path would be "Main/Layer2", assuming the ValuePathSeparator is the default slash character (/).

See Also

© 2010 All Rights Reserved.