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)
Syntax
'Declaration
Function GetSortedNodes ( _
comparer As IComparer(Of IBuildInformationNode) _
) As List(Of IBuildInformationNode)
List<IBuildInformationNode> GetSortedNodes(
IComparer<IBuildInformationNode> comparer
)
List<IBuildInformationNode^>^ GetSortedNodes(
IComparer<IBuildInformationNode^>^ comparer
)
abstract GetSortedNodes :
comparer:IComparer<IBuildInformationNode> -> List<IBuildInformationNode>
function GetSortedNodes(
comparer : IComparer<IBuildInformationNode>
) : List<IBuildInformationNode>
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.
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.