共用方式為


IBuildInformation.GetSortedNodesByType 方法

取得資訊節點的排序清單,而指定的所有樹狀子目錄中型別的數目。 這個方法會遞迴。

命名空間:  Microsoft.TeamFoundation.Build.Client
組件:  Microsoft.TeamFoundation.Build.Client (在 Microsoft.TeamFoundation.Build.Client.dll 中)

語法

'宣告
Function GetSortedNodesByType ( _
    type As String, _
    comparer As IComparer(Of IBuildInformationNode) _
) As List(Of IBuildInformationNode)
List<IBuildInformationNode> GetSortedNodesByType(
    string type,
    IComparer<IBuildInformationNode> comparer
)

參數

傳回值

型別:System.Collections.Generic.List<IBuildInformationNode>
指定的資訊節點排序清單和所有樹狀子目錄中型別的數目。

備註

節點排序由階層架構會根據指定的比較子。

.NET Framework 安全性

請參閱

參考

IBuildInformation 介面

Microsoft.TeamFoundation.Build.Client 命名空間