CodeContainer.WithRemote(RemoteCodeContainer) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回一个, CodeContainer 其 RemoteCodeContainer 设置为提供的 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 , RemoteCodeContainer 将始终报告其父项 LastAccessed 。