Nevron .NET Vision
Nevron.UI.WinForm.Controls Namespace / NTreeNodeCollection Class / GetNodesByName Method
The text to search for.
True to recursively iterate through nested nodes, false to examine the current collection only.


In This Topic
    GetNodesByName Method
    In This Topic
    Collects all nodes with the specified name.
    Syntax
    'Declaration
     
    
    Public Function GetNodesByName( _
       ByVal name As System.String, _
       ByVal nested As System.Boolean _
    ) As System.Collections.Generic.List(Of NTreeNode)
    'Usage
     
    
    Dim instance As NTreeNodeCollection
    Dim name As System.String
    Dim nested As System.Boolean
    Dim value As System.Collections.Generic.List(Of NTreeNode)
     
    value = instance.GetNodesByName(name, nested)
    public System.Collections.Generic.List<NTreeNode> GetNodesByName( 
       System.string name,
       System.bool nested
    )

    Parameters

    name
    The text to search for.
    nested
    True to recursively iterate through nested nodes, false to examine the current collection only.
    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