Gets the pending changes for this item and sub-items in this workspace.
Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
声明
Public Function GetPendingChanges ( _
    item As String, _
    recursion As RecursionType _
) As PendingChange()
public PendingChange[] GetPendingChanges(
    string item,
    RecursionType recursion
)
public:
array<PendingChange^>^ GetPendingChanges(
    String^ item, 
    RecursionType recursion
)
member GetPendingChanges : 
        item:string * 
        recursion:RecursionType -> PendingChange[] 
public function GetPendingChanges(
    item : String, 
    recursion : RecursionType
) : PendingChange[]
Parameters
- item
 Type: System.String
 The path, local or server, to the item being queried.
- recursion
 Type: Microsoft.TeamFoundation.VersionControl.Client.RecursionType
 A flag specifying the type of recursion.
Return Value
Type: array<Microsoft.TeamFoundation.VersionControl.Client.PendingChange[]
The pending changes for the specified items in this workspace.
.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.