共用方式為


IVersionControlService.Undo Method

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

Syntax

'Declaration
Function Undo ( _
    items As String(), _
    count As Integer, _
    <OutAttribute> ByRef numUndone As Integer _
) As Integer
int Undo(
    string[] items,
    int count,
    out int numUndone
)
int Undo(
    [InAttribute] array<String^>^ items, 
    int count, 
    [OutAttribute] int% numUndone
)
abstract Undo : 
        items:string[] * 
        count:int * 
        numUndone:int byref -> int
function Undo(
    items : String[], 
    count : int, 
    numUndone : int
) : int

Parameters

Return Value

Type: System.Int32
Returns Int32.

.NET Framework Security

See Also

Reference

IVersionControlService Interface

Microsoft.VisualStudio.TeamFoundation.VersionControl Namespace