Flexible TreeView 5.1.9 Help
FindChildNodeById<TResult,TId>(TId,Boolean) Method



The node type to return.
The identifier type.
The identifier.
if set to true then search in first-level children nodes only; otherwise, search in all children nodes.
Finds the child node that implements the IIndexable<T> interface by the specified identifier and depth level.
Syntax
'Declaration
 
Public Overloads Function FindChildNodeById
    (Of TResult As {Node, IIndexable(Of TId)},
     TId)( _
   ByVal pId As TId, _
   ByVal pFirstLevelOnly As Boolean _
) As TResult
'Usage
 
Dim instance As Node
Dim pId As TId
Dim pFirstLevelOnly As Boolean
Dim value As TResult
 
value = instance.FindChildNodeById(Of TResult, TId)(pId, pFirstLevelOnly)
public TResult FindChildNodeById<TResult,TId>( 
   TId pId,
   bool pFirstLevelOnly
)
where TResult: Node, IIndexable<TId>
public:
TResult^ FindChildNodeByIdgeneric<typename TResult>
generic<typename TId>
( 
   TId^ pId,
   bool pFirstLevelOnly
) 
where TResult: Node, IIndexable<TId>

Parameters

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

Type Parameters

TResult
The node type to return.
TId
The identifier type.

Return Value

The node with the specified Id.
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
IIndexable<T> Interface
FindChildNodeById<TResult,TId>(TId) Method
FindChildNodeByText<T>(String) Method
FindChildNodeByText<T>(String,Boolean) Method
FindChildNodeByTag<T>(Object) Method
FindChildNodeByTag<T>(Object,Boolean) Method
FindChildNodesByTag<T>(Object) Method
FindChildNodesByTag<T>(Object,Boolean) Method

Send Feedback