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

Returns the children for this node.

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

Syntax

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

Parameters

  • propertyFilters
    Type: System.Collections.Generic.IEnumerable<KeyValuePair<String, String>>

    The set of property filters to apply to the nodes found. Matches will be based on both the key and the value of the property matching. If the value of a certain filter is null or empty then it will be assumed that all nodes with the supplied property should be returned. A match consists of a node/resource that matches all of the propertyFilters

  • 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 depend 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, because 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.Framework.Server Namespace