ESRI.ArcGIS.ADF.Web.UI.WebControls
FindNodeByValuePath Method
See Also  Send Feedback
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 (/).

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.