Workspace.Shelve Method

Collects a set of pending changes and shelves them to the server. Shelved changes can be later reproduced as pending changes in this or another workspace.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

Syntax

'Declaration
Public Sub Shelve ( _
    shelveset As Shelveset, _
    changes As PendingChange(), _
    options As ShelvingOptions _
)
'Usage
Dim instance As Workspace 
Dim shelveset As Shelveset 
Dim changes As PendingChange()
Dim options As ShelvingOptions

instance.Shelve(shelveset, changes, options)
public void Shelve(
    Shelveset shelveset,
    PendingChange[] changes,
    ShelvingOptions options
)
public:
void Shelve(
    Shelveset^ shelveset, 
    array<PendingChange^>^ changes, 
    ShelvingOptions options
)
public function Shelve(
    shelveset : Shelveset, 
    changes : PendingChange[], 
    options : ShelvingOptions
)

Parameters

.NET Framework Security

See Also

Reference

Workspace Class

Workspace Members

Microsoft.TeamFoundation.VersionControl.Client Namespace