CatalogNode.CreateChild Method (TeamFoundationRequestContext, CatalogResource)

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

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.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.Framework.Server.CatalogNode
The constructed node with the attached resource.

.NET Framework Security

See Also

Reference

CatalogNode Class

CreateChild Overload

Microsoft.TeamFoundation.Framework.Server Namespace