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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe callers request context for this operation.
resourceTypeIdentifier
Type: System.GuidIdentifier that defines the resourceType used for this resrouce.
displayName
Type: System.StringUser 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.