Freigeben über


CodeContainer.WithRemote(RemoteCodeContainer) Method

Definition

Returns a CodeContainer whose RemoteCodeContainer is set to the supplied remote.

public:
 Microsoft::VisualStudio::Shell::CodeContainerManagement::CodeContainer ^ WithRemote(Microsoft::VisualStudio::Shell::CodeContainerManagement::RemoteCodeContainer ^ remote);
public Microsoft.VisualStudio.Shell.CodeContainerManagement.CodeContainer WithRemote (Microsoft.VisualStudio.Shell.CodeContainerManagement.RemoteCodeContainer remote);
member this.WithRemote : Microsoft.VisualStudio.Shell.CodeContainerManagement.RemoteCodeContainer -> Microsoft.VisualStudio.Shell.CodeContainerManagement.CodeContainer
Public Function WithRemote (remote As RemoteCodeContainer) As CodeContainer

Parameters

remote
RemoteCodeContainer

The new Remote Code Container.

Returns

Remarks

After being added to a CodeContainer, a RemoteCodeContainer will always report its parent LastAccessed instead.

Applies to