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
'Declaración
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
- 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.
Remarks
The nodes will be sorted first by hierarchy and then by the specified comparer.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.