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)
Syntax
'Declaration
Public Function CreateChild ( _
resourceTypeIdentifier As Guid, _
resourceDisplayName As String _
) As CatalogNode
public CatalogNode CreateChild(
Guid resourceTypeIdentifier,
string resourceDisplayName
)
public:
CatalogNode^ CreateChild(
Guid resourceTypeIdentifier,
String^ resourceDisplayName
)
member CreateChild :
resourceTypeIdentifier:Guid *
resourceDisplayName:string -> CatalogNode
public function CreateChild(
resourceTypeIdentifier : Guid,
resourceDisplayName : String
) : CatalogNode
Parameters
resourceTypeIdentifier
Type: System.GuidThe resource type that describes the resource being created.
resourceDisplayName
Type: System.StringThe display name for the resource being created.
Return Value
Type: Microsoft.TeamFoundation.Framework.Client.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.