Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- containerId
Type: System.Int64
- sourcesAndTargets
Type: System.Collections.Generic.IList<Tuple<String, String>>
Return Value
Type: System.Collections.Generic.List<FileContainerItem>
.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.