共用方式為


IVersionControlService.Move Method

Namespace:  Microsoft.VisualStudio.TeamFoundation.VersionControl
Assembly:  Microsoft.VisualStudio.TeamFoundation.VersionControl (in Microsoft.VisualStudio.TeamFoundation.VersionControl.dll)

Syntax

'Declaration
Function Move ( _
    srcItem As String, _
    tgtItem As String, _
    options As VersionControlMoveFlags, _
    <OutAttribute> ByRef numMoved As Integer _
) As Integer
int Move(
    string srcItem,
    string tgtItem,
    VersionControlMoveFlags options,
    out int numMoved
)
int Move(
    [InAttribute] String^ srcItem, 
    [InAttribute] String^ tgtItem, 
    [InAttribute] VersionControlMoveFlags options, 
    [OutAttribute] int% numMoved
)
abstract Move : 
        srcItem:string * 
        tgtItem:string * 
        options:VersionControlMoveFlags * 
        numMoved:int byref -> int
function Move(
    srcItem : String, 
    tgtItem : String, 
    options : VersionControlMoveFlags, 
    numMoved : int
) : int

Parameters

Return Value

Type: System.Int32
Returns Int32.

.NET Framework Security

See Also

Reference

IVersionControlService Interface

Microsoft.VisualStudio.TeamFoundation.VersionControl Namespace