Workspace.Undo Method (array<String[], RecursionType, Boolean)
Undo the pending changes for the specified items. The items may contain wildcard characters.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Function Undo ( _
items As String(), _
recursion As RecursionType, _
updateDisk As Boolean _
) As Integer
'Usage
Dim instance As Workspace
Dim items As String()
Dim recursion As RecursionType
Dim updateDisk As Boolean
Dim returnValue As Integer
returnValue = instance.Undo(items, recursion, _
updateDisk)
public int Undo(
string[] items,
RecursionType recursion,
bool updateDisk
)
public:
int Undo(
array<String^>^ items,
RecursionType recursion,
bool updateDisk
)
public function Undo(
items : String[],
recursion : RecursionType,
updateDisk : boolean
) : int
Parameters
- items
Type: array<System.String[]
- recursion
Type: Microsoft.TeamFoundation.VersionControl.Client.RecursionType
updateDisk
Type: System.BooleanIf true, update the items on disk for the undo; otherwise, the disk is not modified.
Return Value
Type: System.Int32
.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.