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)
Syntax
'Declaration
Function GetSortedNodesByType ( _
type As String, _
comparer As IComparer(Of IBuildInformationNode) _
) As List(Of IBuildInformationNode)
List<IBuildInformationNode> GetSortedNodesByType(
string type,
IComparer<IBuildInformationNode> comparer
)
List<IBuildInformationNode^>^ GetSortedNodesByType(
String^ type,
IComparer<IBuildInformationNode^>^ comparer
)
abstract GetSortedNodesByType :
type:string *
comparer:IComparer<IBuildInformationNode> -> List<IBuildInformationNode>
function GetSortedNodesByType(
type : String,
comparer : IComparer<IBuildInformationNode>
) : List<IBuildInformationNode>
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.
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.