共用方式為


TeamFoundationCatalogService.QueryRootNode Method

Returns the specified root node. Well-known root paths can be found in Microsoft.TeamFoundation.Framework.Common.Catalog.CatalogTree.

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

Syntax

'Declaration
Public Function QueryRootNode ( _
    requestContext As TeamFoundationRequestContext, _
    tree As CatalogTree _
) As CatalogNode
public CatalogNode QueryRootNode(
    TeamFoundationRequestContext requestContext,
    CatalogTree tree
)
public:
CatalogNode^ QueryRootNode(
    TeamFoundationRequestContext^ requestContext, 
    CatalogTree tree
)
member QueryRootNode : 
        requestContext:TeamFoundationRequestContext * 
        tree:CatalogTree -> CatalogNode
public function QueryRootNode(
    requestContext : TeamFoundationRequestContext, 
    tree : CatalogTree
) : CatalogNode

Parameters

Return Value

Type: Microsoft.TeamFoundation.Server.Core.CatalogNode
The CatalogNode for the tree.

.NET Framework Security

See Also

Reference

TeamFoundationCatalogService Class

Microsoft.TeamFoundation.Server.Core Namespace