Workspace.Undo 方法 (array<String , RecursionType, Boolean)

还原指定项目的挂起的更改。

命名空间:  Microsoft.TeamFoundation.VersionControl.Client
程序集:  Microsoft.TeamFoundation.VersionControl.Client(在 Microsoft.TeamFoundation.VersionControl.Client.dll 中)

语法

声明
Public Function Undo ( _
    items As String(), _
    recursion As RecursionType, _
    updateDisk As Boolean _
) As Integer
public int Undo(
    string[] items,
    RecursionType recursion,
    bool updateDisk
)

参数

  • items
    类型:array<System.String[]
    项目说明符可以恢复这些更改。
  • updateDisk
    类型:System.Boolean
    true 更新在本地磁盘上的项目移除操作的。错误不修改磁盘。

返回值

类型:System.Int32
还原的更改的数目。

.NET Framework 安全性

请参见

参考

Workspace 类

Undo 重载

Microsoft.TeamFoundation.VersionControl.Client 命名空间