共用方式為


CatalogNode.CreateChild Method (CatalogResource)

Factory method for creating a node and attaching a new resource.

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

Syntax

'Declaration
Public Function CreateChild ( _
    existingResource As CatalogResource _
) As CatalogNode
public CatalogNode CreateChild(
    CatalogResource existingResource
)
public:
CatalogNode^ CreateChild(
    CatalogResource^ existingResource
)
member CreateChild : 
        existingResource:CatalogResource -> CatalogNode
public function CreateChild(
    existingResource : CatalogResource
) : CatalogNode

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

CatalogNode Class

CreateChild Overload

Microsoft.TeamFoundation.Framework.Client Namespace