共用方式為


CatalogNode.QueryDependents Method

Returns all of the nodes that depend on this nodes existence.

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

Syntax

'Declaration
Public Function QueryDependents ( _
    queryOptions As CatalogQueryOptions _
) As ReadOnlyCollection(Of CatalogNode)
public ReadOnlyCollection<CatalogNode> QueryDependents(
    CatalogQueryOptions queryOptions
)
public:
ReadOnlyCollection<CatalogNode^>^ QueryDependents(
    CatalogQueryOptions queryOptions
)
member QueryDependents : 
        queryOptions:CatalogQueryOptions -> ReadOnlyCollection<CatalogNode> 
public function QueryDependents(
    queryOptions : CatalogQueryOptions
) : ReadOnlyCollection<CatalogNode>

Parameters

  • 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.ObjectModel.ReadOnlyCollection<CatalogNode>
All of the nodes that depend on this nodes existence.

.NET Framework Security

See Also

Reference

CatalogNode Class

Microsoft.TeamFoundation.Framework.Client Namespace