Compartilhar via


IBuildInformation.GetSortedNodesByTypes Method

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

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

Syntax

'Declaração
Function GetSortedNodesByTypes ( _
    types As IEnumerable(Of String), _
    comparer As IComparer(Of IBuildInformationNode) _
) As List(Of IBuildInformationNode)
List<IBuildInformationNode> GetSortedNodesByTypes(
    IEnumerable<string> types,
    IComparer<IBuildInformationNode> comparer
)
List<IBuildInformationNode^>^ GetSortedNodesByTypes(
    IEnumerable<String^>^ types, 
    IComparer<IBuildInformationNode^>^ comparer
)
abstract GetSortedNodesByTypes : 
        types:IEnumerable<string> * 
        comparer:IComparer<IBuildInformationNode> -> List<IBuildInformationNode> 
function GetSortedNodesByTypes(
    types : IEnumerable<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 types 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