Share via


IBuildInformation.GetSortedNodesByType Method

Gets a sorted list of the information nodes in Nodes and all subtrees (recursive) with the specified type. Sorting is performed first by hierarchy and then by the specified comparer.

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)
'Usage
Dim instance As IBuildInformation 
Dim type As String 
Dim comparer As IComparer(Of IBuildInformationNode)
Dim returnValue As List(Of IBuildInformationNode)

returnValue = instance.GetSortedNodesByType(type, _
    comparer)
List<IBuildInformationNode> GetSortedNodesByType(
    string type,
    IComparer<IBuildInformationNode> comparer
)
List<IBuildInformationNode^>^ GetSortedNodesByType(
    String^ type, 
    IComparer<IBuildInformationNode^>^ comparer
)
function GetSortedNodesByType(
    type : String, 
    comparer : IComparer<IBuildInformationNode>
) : List<IBuildInformationNode>

Parameters

  • type
    Type: System.String

    The type for which nodes are returned.

Return Value

Type: System.Collections.Generic.List<IBuildInformationNode>
Returns a sorted list of the information nodes in Nodes and all subtrees with the specified type.

.NET Framework Security

See Also

Reference

IBuildInformation Interface

IBuildInformation Members

Microsoft.TeamFoundation.Build.Client Namespace