Condividi tramite


CatalogNode.CreateChild Method (TeamFoundationRequestContext, CatalogResource)

Factory method for creating a node. This does not persist the node.

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

Syntax

'Declaration
Public Function CreateChild ( _
    requestContext As TeamFoundationRequestContext, _
    existingResource As CatalogResource _
) As CatalogNode
public CatalogNode CreateChild(
    TeamFoundationRequestContext requestContext,
    CatalogResource existingResource
)
public:
CatalogNode^ CreateChild(
    TeamFoundationRequestContext^ requestContext, 
    CatalogResource^ existingResource
)
member CreateChild : 
        requestContext:TeamFoundationRequestContext * 
        existingResource:CatalogResource -> CatalogNode
public function CreateChild(
    requestContext : TeamFoundationRequestContext, 
    existingResource : CatalogResource
) : CatalogNode

Parameters

Return Value

Type: Microsoft.TeamFoundation.Server.Core.CatalogNode
The constructed node with the attached resource.

.NET Framework Security

See Also

Reference

CatalogNode Class

CreateChild Overload

Microsoft.TeamFoundation.Server.Core Namespace