Share via


IBuildInformation.GetSortedNodesByType Method

Gets a sorted list of the information nodes and all subtrees of the specified type in this collection. This method is recursive.

Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)

Syntax

'Declaration
Function GetSortedNodesByType ( _
    type As String, _
    comparer As IComparer(Of IBuildInformationNode) _
) As List(Of IBuildInformationNode)
List<IBuildInformationNode> GetSortedNodesByType(
    string type,
    IComparer<IBuildInformationNode> comparer
)
List<IBuildInformationNode^>^ GetSortedNodesByType(
    String^ type, 
    IComparer<IBuildInformationNode^>^ comparer
)
abstract GetSortedNodesByType : 
        type:string * 
        comparer:IComparer<IBuildInformationNode> -> List<IBuildInformationNode> 
function GetSortedNodesByType(
    type : String, 
    comparer : IComparer<IBuildInformationNode>
) : List<IBuildInformationNode>

Parameters

Return Value

Type: System.Collections.Generic.List<IBuildInformationNode>
A sorted list of the information nodes and all subtrees of the specified type in this collection.

Remarks

The nodes will be sorted first by hierarchy and then by the specified comparer.

.NET Framework Security

See Also

Reference

IBuildInformation Interface

Microsoft.TeamFoundation.Build.Client Namespace