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
existingResource
Type: Microsoft.TeamFoundation.Framework.Client.CatalogResourceThe resource to associate with the node.
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.