Workspace.GetPendingChanges Method (array<String , RecursionType, Boolean)
Gets the pending changes for the items and sub-items in this workspace.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Function GetPendingChanges ( _
items As String(), _
recursion As RecursionType, _
includeDownloadInfo As Boolean _
) As PendingChange()
public PendingChange[] GetPendingChanges(
string[] items,
RecursionType recursion,
bool includeDownloadInfo
)
public:
array<PendingChange^>^ GetPendingChanges(
array<String^>^ items,
RecursionType recursion,
bool includeDownloadInfo
)
member GetPendingChanges :
items:string[] *
recursion:RecursionType *
includeDownloadInfo:bool -> PendingChange[]
public function GetPendingChanges(
items : String[],
recursion : RecursionType,
includeDownloadInfo : boolean
) : PendingChange[]
Parameters
items
Type: array<System.String[]An array of paths, local or server, to the items that are being queried.
recursion
Type: Microsoft.TeamFoundation.VersionControl.Client.RecursionTypeA flag that specifies the type of recursion.
includeDownloadInfo
Type: System.BooleanTrue to include the information that is required to download files; false not to download the additional information.
Return Value
Type: array<Microsoft.TeamFoundation.VersionControl.Client.PendingChange[]
The pending changes for the specified items in this workspace.
Remarks
Set includeDownloadInfo to true only if you will download the files by using the information that is returned. The call will be faster and require less bandwidth when this parameter is false (default for overloads that do not specify it).
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.