次の方法で共有


CatalogNode.CreateChild Method (TeamFoundationRequestContext, Guid, String)

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, _
    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 resrouce.

  • displayName
    Type: System.String

    User friendly display name for this resource.

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