Freigeben über


TeamFoundationFileContainerService.CopyFiles Method

Copies the source file (Item1) to the target file (Item2) in the list of Tuples under the following conditions: - Sources all exist - Targets do not exist and are all unique

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

Syntax

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

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

TeamFoundationFileContainerService Class

Microsoft.TeamFoundation.Framework.Server Namespace