RemoteCodeContainer.WithName(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回的实例, RemoteCodeContainer 其 Name 等于 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
名称
返回
例外
如果为 null,则引发 name 。
如果 name 为空或为空白,则引发。