Delen via


TeamFoundationFileContainerService.RenameFiles Method

Reanmes 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 RenameFiles ( _
    requestContext As TeamFoundationRequestContext, _
    containerId As Long, _
    sourcesAndTargets As IList(Of Tuple(Of String, String)) _
) As List(Of FileContainerItem)
public List<FileContainerItem> RenameFiles(
    TeamFoundationRequestContext requestContext,
    long containerId,
    IList<Tuple<string, string>> sourcesAndTargets
)
public:
List<FileContainerItem^>^ RenameFiles(
    TeamFoundationRequestContext^ requestContext, 
    long long containerId, 
    IList<Tuple<String^, String^>^>^ sourcesAndTargets
)
member RenameFiles : 
        requestContext:TeamFoundationRequestContext * 
        containerId:int64 * 
        sourcesAndTargets:IList<Tuple<string, string>> -> List<FileContainerItem> 
public function RenameFiles(
    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