CatalogNode.CreateChild Method (Guid, String)

Factory method for creating a node with a new resource. This does not persist the node or the resource.

Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

public CatalogNode CreateChild(
	Guid resourceTypeIdentifier,
	string resourceDisplayName
)

Parameters

resourceTypeIdentifier
Type: System.Guid

The resource type that describes the resource being created.

resourceDisplayName
Type: System.String

The display name for the resource being created.

Return Value

Type: Microsoft.TeamFoundation.Framework.Client.CatalogNode
The constructed node with the attached resource.

Show: