Flexible TreeView 5.1.9 Help
Find(Func<Node,Boolean>,Boolean) Method



The search predicate.
if set to true then search within first-level children nodes only; otherwise, search in all children nodes.
Finds children nodes using the specified predicate and depth level.
Syntax
'Declaration
 
Public Overloads Function Find( _
   ByVal pPredicate As ARMSoft.Utils.Func(Of Node,Boolean), _
   ByVal pFirstLevelOnly As Boolean _
) As IEnumerable(Of Node)
'Usage
 
Dim instance As Node
Dim pPredicate As ARMSoft.Utils.Func(Of Node,Boolean)
Dim pFirstLevelOnly As Boolean
Dim value As IEnumerable(Of Node)
 
value = instance.Find(pPredicate, pFirstLevelOnly)
public IEnumerable<Node> Find( 
   ARMSoft.Utils.Func<Node,bool> pPredicate,
   bool pFirstLevelOnly
)
public:
IEnumerable<Node^>^ Find( 
   ARMSoft.Utils.Func<Node^,bool>^ pPredicate,
   bool pFirstLevelOnly
) 

Parameters

pPredicate
The search predicate.
pFirstLevelOnly
if set to true then search within first-level children nodes only; otherwise, search in all children nodes.

Return Value

Found nodes list.
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

Send Feedback