共用方式為


CatalogNode.QueryParents 方法

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

語法

'宣告
Public Function QueryParents ( _
    resourceTypeFilters As IEnumerable(Of Guid), _
    recurseToRoot As Boolean, _
    queryOptions As CatalogQueryOptions _
) As ReadOnlyCollection(Of CatalogNode)
public ReadOnlyCollection<CatalogNode> QueryParents(
    IEnumerable<Guid> resourceTypeFilters,
    bool recurseToRoot,
    CatalogQueryOptions queryOptions
)

參數

傳回值

型別:System.Collections.ObjectModel.ReadOnlyCollection<CatalogNode>

.NET Framework 安全性

請參閱

參考

CatalogNode 類別

Microsoft.TeamFoundation.Framework.Client 命名空間