CodeContainer.WithRemote(RemoteCodeContainer) 方法

定义

返回一个, CodeContainerRemoteCodeContainer 设置为提供的 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

参数

remote
RemoteCodeContainer

新的远程代码容器。

返回

CodeContainer

注解

添加到后 CodeContainerRemoteCodeContainer 将始终报告其父项 LastAccessed

适用于