ICatalogService.QueryNodes Method (IEnumerable<String>, IEnumerable<Guid>, CatalogQueryOptions)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Returns the catalog nodes that exist below the parentPath and have a type that is listed in resourceTypeFilters.
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
ReadOnlyCollection<CatalogNode> QueryNodes( IEnumerable<string> pathSpecs, IEnumerable<Guid> resourceTypeFilters, CatalogQueryOptions queryOptions )
- Type: System.Collections.Generic.IEnumerable<String>
The paths of the element or elements that are being searched for. This path can contain the wildcards "*", "**" and "..." where "*" means one-level and "**" and "..." means any number of levels.
- Type: System.Collections.Generic.IEnumerable<Guid>
The list of types that this query should include. If this is null or empty, all types will be included.
- Type: CatalogQueryOptions
If ExpandDependencies is specified, the Dependencies property on nodes will contain the nodes they are dependent on. If IncludeParents is specified, the ParentNode property on the CatalogNode will contain the parent node. Leaving a given option will result in the returned catalog nodes to have null for that value. Extra data should only be retrieved if it is needed since computing and sending information can be expensive.
- 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.