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 表示包含需要下載檔案的資訊;下載其他資訊則為 false。

傳回值

類型:array<Microsoft.TeamFoundation.VersionControl.Client.PendingChange[]
指定項目的暫止變更。這個工作區。

備註

請將 includeDownloadInfo 設定為 true 時,才會下載檔案使用的資訊。 呼叫會更快速且需要較少的頻寬,當這個參數為 false (沒有指定它) 的多載的預設值。

.NET Framework 安全性

請參閱

參考

Workspace 類別

GetPendingChanges 多載

Microsoft.TeamFoundation.VersionControl.Client 命名空間