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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe callers request context for this operation.
existingResource
Type: Microsoft.TeamFoundation.Server.Core.CatalogResourceThe resource to associate with the node.
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.