Flexible TreeView 5.1.9 Help
FindChildNodesByTag<T>(Object,Boolean) Method



The Result nodes type.
The Tag property 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 Tag property value and depth level.
Syntax
'Declaration
 
Public Overloads Function FindChildNodesByTag(Of T As Node)( _
   ByVal pTag As Object, _
   ByVal pFirstLevelOnly As Boolean _
) As IEnumerable(Of T)
'Usage
 
Dim instance As Node
Dim pTag As Object
Dim pFirstLevelOnly As Boolean
Dim value As IEnumerable(Of T)
 
value = instance.FindChildNodesByTag(Of T)(pTag, pFirstLevelOnly)
public IEnumerable<T> FindChildNodesByTag<T>( 
   object pTag,
   bool pFirstLevelOnly
)
where T: Node
public:
IEnumerable<T^>^ FindChildNodesByTaggeneric<typename T>
( 
   Object^ pTag,
   bool pFirstLevelOnly
) 
where T: Node

Parameters

pTag
The Tag property 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
The Result nodes type.

Return Value

The nodes with the specified Tag 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
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