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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextRequest context.
containerId
Type: System.Int64Container Id.
items
Type: System.Collections.Generic.IList<FileContainerItem>Items to be created.
Return Value
Type: System.Collections.Generic.List<FileContainerItem>
Items created.
.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.