This documentation is archived and is not being maintained.

Workspace::Shelve Method

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.

Show: