TeamFoundationFileContainerService.CreateItems Method

Creates items in a container. If the items already exist with the same types, overwrite them. If the items already exist with different types, throw an exception.

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

Syntax

'Declaration
Public Function CreateItems ( _
    requestContext As TeamFoundationRequestContext, _
    containerId As Long, _
    items As IList(Of FileContainerItem) _
) As List(Of FileContainerItem)
public List<FileContainerItem> CreateItems(
    TeamFoundationRequestContext requestContext,
    long containerId,
    IList<FileContainerItem> items
)
public:
List<FileContainerItem^>^ CreateItems(
    TeamFoundationRequestContext^ requestContext, 
    long long containerId, 
    IList<FileContainerItem^>^ items
)
member CreateItems : 
        requestContext:TeamFoundationRequestContext * 
        containerId:int64 * 
        items:IList<FileContainerItem> -> List<FileContainerItem> 
public function CreateItems(
    requestContext : TeamFoundationRequestContext, 
    containerId : long, 
    items : IList<FileContainerItem>
) : List<FileContainerItem>

Parameters

Return Value

Type: System.Collections.Generic.List<FileContainerItem>
Items created.

.NET Framework Security

See Also

Reference

TeamFoundationFileContainerService Class

Microsoft.TeamFoundation.Framework.Server Namespace