IBuildInformation.GetSortedNodes Method

Gets a sorted list of the information nodes and all subtrees in this collection.

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

List<IBuildInformationNode> GetSortedNodes(
	IComparer<IBuildInformationNode> comparer
)

Parameters

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 in this collection.

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

Show: