Share via


CatalogNode.QueryChildren Method (TeamFoundationRequestContext, IEnumerable<Guid>, Boolean, CatalogQueryOptions)

Returns the children for this node. This function will call the web service.

Namespace:  Microsoft.TeamFoundation.Server.Core
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

Syntax

'Declaration
Public Function QueryChildren ( _
    requestContext As TeamFoundationRequestContext, _
    resourceTypeFilters As IEnumerable(Of Guid), _
    recurse As Boolean, _
    queryOptions As CatalogQueryOptions _
) As List(Of CatalogNode)
public List<CatalogNode> QueryChildren(
    TeamFoundationRequestContext requestContext,
    IEnumerable<Guid> resourceTypeFilters,
    bool recurse,
    CatalogQueryOptions queryOptions
)
public:
List<CatalogNode^>^ QueryChildren(
    TeamFoundationRequestContext^ requestContext, 
    IEnumerable<Guid>^ resourceTypeFilters, 
    bool recurse, 
    CatalogQueryOptions queryOptions
)
member QueryChildren : 
        requestContext:TeamFoundationRequestContext * 
        resourceTypeFilters:IEnumerable<Guid> * 
        recurse:bool * 
        queryOptions:CatalogQueryOptions -> List<CatalogNode> 
public function QueryChildren(
    requestContext : TeamFoundationRequestContext, 
    resourceTypeFilters : IEnumerable<Guid>, 
    recurse : boolean, 
    queryOptions : CatalogQueryOptions
) : List<CatalogNode>

Parameters

  • recurse
    Type: System.Boolean

    True if this should recurse for all of this nodes children.

  • queryOptions
    Type: Microsoft.TeamFoundation.Framework.Common.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.

Return Value

Type: System.Collections.Generic.List<CatalogNode>
The children of this node that meet the filter and recurse requirements.

.NET Framework Security

See Also

Reference

CatalogNode Class

QueryChildren Overload

Microsoft.TeamFoundation.Server.Core Namespace