RemoteCodeContainer.WithName(String) 方法

定义

返回的实例, RemoteCodeContainerName 等于 name

public:
 Microsoft::VisualStudio::Shell::CodeContainerManagement::RemoteCodeContainer ^ WithName(System::String ^ name);
public Microsoft.VisualStudio.Shell.CodeContainerManagement.RemoteCodeContainer WithName (string name);
member this.WithName : string -> Microsoft.VisualStudio.Shell.CodeContainerManagement.RemoteCodeContainer
Public Function WithName (name As String) As RemoteCodeContainer

参数

name
String

名称

返回

RemoteCodeContainer

例外

如果为 null,则引发 name

如果 name 为空或为空白,则引发。

适用于