Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- requestContext 
 Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext- The callers request context for this operation. 
- 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.