Export (0) Print
Expand All

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)

List<IBuildInformationNode> GetSortedNodesByTypes(
	IEnumerable<string> types,
	IComparer<IBuildInformationNode> comparer
)

Parameters

types
Type: System.Collections.Generic.IEnumerable<String>

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

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

Show:
© 2014 Microsoft