This documentation is archived and is not being maintained.
Workspace::Shelve Method
Visual Studio 2013
Collects a set of pending changes and shelves them to the server.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
public: void Shelve( Shelveset^ shelveset, array<PendingChange^>^ changes, ShelvingOptions options )
Parameters
- shelveset
- Type: Microsoft.TeamFoundation.VersionControl.Client::Shelveset
The shelveset to create.
- changes
- Type: array<Microsoft.TeamFoundation.VersionControl.Client::PendingChange>
An array of pending changes to shelve.
- options
- Type: Microsoft.TeamFoundation.VersionControl.Client::ShelvingOptions
One or more of the enum values (Move, None, or Replace) for the shelving command.
- 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.
Show: