共用方式為


Workspace.GetPendingChanges Method (array<ItemSpec , Boolean)

Get the pending changes for specified items in this workspace.

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

Syntax

'宣告
Public Function GetPendingChanges ( _
    itemSpecs As ItemSpec(), _
    includeDownloadInfo As Boolean _
) As PendingChange()
public PendingChange[] GetPendingChanges(
    ItemSpec[] itemSpecs,
    bool includeDownloadInfo
)
public:
array<PendingChange^>^ GetPendingChanges(
    array<ItemSpec^>^ itemSpecs, 
    bool includeDownloadInfo
)
member GetPendingChanges : 
        itemSpecs:ItemSpec[] * 
        includeDownloadInfo:bool -> PendingChange[] 
public function GetPendingChanges(
    itemSpecs : ItemSpec[], 
    includeDownloadInfo : boolean
) : PendingChange[]

Parameters

  • includeDownloadInfo
    Type: System.Boolean
    True to include the information needed to download files. False to not download the additional information.

Return Value

Type: array<Microsoft.TeamFoundation.VersionControl.Client.PendingChange[]
The pending changes for the specified items in this workspace.

Remarks

Only set includeDownloadInfo to true if you are going to be downloading the files using the information that is returned. The call will be faster and require less bandwidth when this parameter is false (default for overloads that don't specify it).

.NET Framework Security

See Also

Reference

Workspace Class

GetPendingChanges Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace