CatalogNode.CreateChild Method (TeamFoundationRequestContext, Guid, String)

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, _
    resourceTypeIdentifier As Guid, _
    displayName As String _
) As CatalogNode
public CatalogNode CreateChild(
    TeamFoundationRequestContext requestContext,
    Guid resourceTypeIdentifier,
    string displayName
)
public:
CatalogNode^ CreateChild(
    TeamFoundationRequestContext^ requestContext, 
    Guid resourceTypeIdentifier, 
    String^ displayName
)
member CreateChild : 
        requestContext:TeamFoundationRequestContext * 
        resourceTypeIdentifier:Guid * 
        displayName:string -> CatalogNode
public function CreateChild(
    requestContext : TeamFoundationRequestContext, 
    resourceTypeIdentifier : Guid, 
    displayName : String
) : CatalogNode

Parameters

  • resourceTypeIdentifier
    Type: System.Guid

    Identifier that defines the resourceType used for this resource.

  • displayName
    Type: System.String

    User friendly display name for this resource.

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