Gets the shelved changes in the specified Shelveset.
Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Function QueryShelvedChanges ( _
    shelvesetName As String, _
    shelvesetOwner As String, _
    itemSpecs As ItemSpec() _
) As PendingSet()
public PendingSet[] QueryShelvedChanges(
    string shelvesetName,
    string shelvesetOwner,
    ItemSpec[] itemSpecs
)
public:
array<PendingSet^>^ QueryShelvedChanges(
    String^ shelvesetName, 
    String^ shelvesetOwner, 
    array<ItemSpec^>^ itemSpecs
)
member QueryShelvedChanges : 
        shelvesetName:string * 
        shelvesetOwner:string * 
        itemSpecs:ItemSpec[] -> PendingSet[] 
public function QueryShelvedChanges(
    shelvesetName : String, 
    shelvesetOwner : String, 
    itemSpecs : ItemSpec[]
) : PendingSet[]
Parameters
- shelvesetName 
 Type: System.String- The shelveset name. May be null. 
- shelvesetOwner 
 Type: System.String- The shelveset owner. May be null. 
- itemSpecs 
 Type: array<Microsoft.TeamFoundation.VersionControl.Client.ItemSpec[]- An array of ItemSpec objects for the items to query. 
Return Value
Type: array<Microsoft.TeamFoundation.VersionControl.Client.PendingSet[]
An array of PendingSet objects with the pending changes for the specified Shelveset.
.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.