Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Reproduces in this workspace a set of pending changes that have been previously shelved to the server.
Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Function Unshelve ( _
    shelvesetName As String, _
    shelvesetOwner As String, _
    items As ItemSpec(), _
    <OutAttribute> ByRef changes As PendingChange(), _
    itemAttributeFilters As String() _
) As Shelveset
public Shelveset Unshelve(
    string shelvesetName,
    string shelvesetOwner,
    ItemSpec[] items,
    out PendingChange[] changes,
    string[] itemAttributeFilters
)
public:
Shelveset^ Unshelve(
    String^ shelvesetName, 
    String^ shelvesetOwner, 
    array<ItemSpec^>^ items, 
    [OutAttribute] array<PendingChange^>^% changes, 
    array<String^>^ itemAttributeFilters
)
member Unshelve : 
        shelvesetName:string * 
        shelvesetOwner:string * 
        items:ItemSpec[] * 
        changes:PendingChange[] byref * 
        itemAttributeFilters:string[] -> Shelveset
public function Unshelve(
    shelvesetName : String, 
    shelvesetOwner : String, 
    items : ItemSpec[], 
    changes : PendingChange[], 
    itemAttributeFilters : String[]
) : Shelveset
Parameters
- shelvesetName 
 Type: System.String- The name of the shelveset to unshelve. 
- shelvesetOwner 
 Type: System.String- The name of the user who created the shelveset. 
- items 
 Type: array<Microsoft.TeamFoundation.VersionControl.Client.ItemSpec[]- An array of files, folders, or both in the shelveset that should be unshelved. Specify null for all files and folders. 
- changes 
 Type: array<Microsoft.TeamFoundation.VersionControl.Client.PendingChange[]%- The array of unshelved pending changes. 
- itemAttributeFilters 
 Type: array<System.String[]- An array of versioned item properties to return with each Get operation. 
Return Value
Type: Microsoft.TeamFoundation.VersionControl.Client.Shelveset
The shelveset that was unshelved.
.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.