Workspace.GetPendingChanges Method (array<ItemSpec[], Boolean, Int32, String, Boolean, array<String )

Gets all of the pending changes for these items and potentially subitems in this workspace.

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

Syntax

'Declaration
Public Function GetPendingChanges ( _
    itemSpecs As ItemSpec(), _
    includeDownloadInfo As Boolean, _
    pageSize As Integer, _
    lastChange As String, _
    includeMergeSourceInfo As Boolean, _
    itemPropertyFilters As String() _
) As PendingChange()
public PendingChange[] GetPendingChanges(
    ItemSpec[] itemSpecs,
    bool includeDownloadInfo,
    int pageSize,
    string lastChange,
    bool includeMergeSourceInfo,
    string[] itemPropertyFilters
)
public:
array<PendingChange^>^ GetPendingChanges(
    array<ItemSpec^>^ itemSpecs, 
    bool includeDownloadInfo, 
    int pageSize, 
    String^ lastChange, 
    bool includeMergeSourceInfo, 
    array<String^>^ itemPropertyFilters
)
member GetPendingChanges : 
        itemSpecs:ItemSpec[] * 
        includeDownloadInfo:bool * 
        pageSize:int * 
        lastChange:string * 
        includeMergeSourceInfo:bool * 
        itemPropertyFilters:string[] -> PendingChange[] 
public function GetPendingChanges(
    itemSpecs : ItemSpec[], 
    includeDownloadInfo : boolean, 
    pageSize : int, 
    lastChange : String, 
    includeMergeSourceInfo : boolean, 
    itemPropertyFilters : String[]
) : PendingChange[]

Parameters

  • includeDownloadInfo
    Type: System.Boolean

    If true, the server will include the information that is required to download files. Only set this to true if you will be downloading the files by using the objects that are returned. The call will be faster and require less bandwidth when this parameter is false (default for overloads that do not specify it)

  • pageSize
    Type: System.Int32

    The maximum number of pending changes to return in this page. Fewer pending changes could be returned if there are not enough pending changes for a full page.

  • lastChange
    Type: System.String

    The server path of the last pending change in the previous page. For the first page this value should be null. For subsequent pages, the server path of the last pending change in the page should be used.

  • includeMergeSourceInfo
    Type: System.Boolean

    Whether to include source information about renames / merges

  • itemPropertyFilters
    Type: array<System.String[]

    List of property names to return on the pending change object if they exist.

Return Value

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

.NET Framework Security

See Also

Reference

Workspace Class

GetPendingChanges Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace