This documentation is archived and is not being maintained.

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)

List<IBuildInformationNode^>^ GetSortedNodesByType(
	String^ type, 
	IComparer<IBuildInformationNode^>^ comparer
)

Parameters

type
Type: System::String

The type of nodes to return.

comparer
Type: System.Collections.Generic::IComparer<IBuildInformationNode>

The comparison that is used to sort nodes at the same level in the hierarchy.

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.

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

Show: