共用方式為


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

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

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

Syntax

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

Parameters

  • recurse
    Type: System.Boolean

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

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<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.Client Namespace