![]() ![]() |
ESRI.ArcGIS.ADF.Web.UI.WebControls | |
FindByValue Method | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > TreeViewPlusNodeCollection Class : FindByValue Method |
- value
- The value to find in the node collection.
Visual Basic (Declaration) | |
---|---|
Public Function FindByValue( _ ByVal value As String _ ) As TreeViewPlusNode |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As TreeViewPlusNodeCollection Dim value As String Dim value As TreeViewPlusNode value = instance.FindByValue(value) |
C# | |
---|---|
public TreeViewPlusNode FindByValue( string value ) |
Parameters
- value
- The value to find in the node collection.
Return Value
Node with the Value matching the input value, or null (Nothing) if no match found.Each TreeViewPlusNode has a Value property that identifies it among other nodes in the collection. This method searches the node collection for a matching value. It searches the children of the nodes, if any, if the immediate nodes have no match. The first matching node is returned. For example, if two child nodes have ValuePaths of Layer1/Field1 and Layer2/Field1, and Layer1 is the first node in the current collection, then the Layer1/Field1 node will be returned.
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