ICatalogService.QueryParents 方法
命名空間: Microsoft.TeamFoundation.Framework.Client
組件: Microsoft.TeamFoundation.Client (在 Microsoft.TeamFoundation.Client.dll 中)
語法
'宣告
Function QueryParents ( _
resourceIdentifier As Guid, _
pathFilters As IEnumerable(Of String), _
resourceTypeFilters As IEnumerable(Of Guid), _
recurseToRoot As Boolean, _
queryOptions As CatalogQueryOptions _
) As ReadOnlyCollection(Of CatalogNode)
ReadOnlyCollection<CatalogNode> QueryParents(
Guid resourceIdentifier,
IEnumerable<string> pathFilters,
IEnumerable<Guid> resourceTypeFilters,
bool recurseToRoot,
CatalogQueryOptions queryOptions
)
參數
- resourceIdentifier
型別:System.Guid
- pathFilters
型別:System.Collections.Generic.IEnumerable<String>
- resourceTypeFilters
型別:System.Collections.Generic.IEnumerable<Guid>
- recurseToRoot
型別:System.Boolean
- queryOptions
型別:Microsoft.TeamFoundation.Framework.Common.CatalogQueryOptions
傳回值
型別:System.Collections.ObjectModel.ReadOnlyCollection<CatalogNode>
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。