Flexible TreeView 5.1.9 Help
FindChildNodesByText<T>(String,Boolean) Method



Type of nodes to search for.
The Text property target value to search.
if set to true then search within first-level children nodes only; otherwise, search in all children nodes.
Finds children nodes by the Text property value and depth level.
Syntax
'Declaration
 
Public Overloads Function FindChildNodesByText(Of T As Node)( _
   ByVal pText As String, _
   ByVal pFirstLevelOnly As Boolean _
) As IEnumerable(Of T)
'Usage
 
Dim instance As Node
Dim pText As String
Dim pFirstLevelOnly As Boolean
Dim value As IEnumerable(Of T)
 
value = instance.FindChildNodesByText(Of T)(pText, pFirstLevelOnly)
public IEnumerable<T> FindChildNodesByText<T>( 
   string pText,
   bool pFirstLevelOnly
)
where T: Node
public:
IEnumerable<T^>^ FindChildNodesByTextgeneric<typename T>
( 
   String^ pText,
   bool pFirstLevelOnly
) 
where T: Node

Parameters

pText
The Text property target value to search.
pFirstLevelOnly
if set to true then search within first-level children nodes only; otherwise, search in all children nodes.

Type Parameters

T
Type of nodes to search for.

Return Value

The nodes with the specified Text value.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Node Class
Node Members
Overload List
FindChildNodeByText<T>(String) Method
FindChildNodeByText<T>(String,Boolean) Method
FindChildNodesByTag<T>(Object) Method
FindChildNodeById<TResult,TId>(TId) Method
FindChildNodeById<TResult,TId>(TId,Boolean) Method
FindChildNodeByTag<T>(Object) Method
FindChildNodeByTag<T>(Object,Boolean) Method

Send Feedback