Workspace.GetPendingChanges 方法 (array<ItemSpec , Boolean)

获取指定项目的挂起的更改此工作区域。

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

语法

声明
Public Function GetPendingChanges ( _
    itemSpecs As ItemSpec(), _
    includeDownloadInfo As Boolean _
) As PendingChange()
public PendingChange[] GetPendingChanges(
    ItemSpec[] itemSpecs,
    bool includeDownloadInfo
)

参数

  • includeDownloadInfo
    类型:System.Boolean
    true (包括对下载文件的信息;错误不会下载其他信息。

返回值

类型:array<Microsoft.TeamFoundation.VersionControl.Client.PendingChange[]
指定项目的挂起的更改此工作区域。

备注

请设置 includeDownloadInfo 为 true,只有 + 当您将下载文件使用返回的信息。调用会更快并且少带宽,在此参数中的错误 (未指定它) 的超加载的默认值。

.NET Framework 安全性

请参见

参考

Workspace 类

GetPendingChanges 重载

Microsoft.TeamFoundation.VersionControl.Client 命名空间