CodeContainerSourceControlProperties.WithRepositoryRootFullPath 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回的实例 CodeContainerSourceControlProperties ,其 RepositoryRootFullPath 设置为 repositoryRootFullPath 。
public:
Microsoft::VisualStudio::Shell::CodeContainerManagement::CodeContainerSourceControlProperties ^ WithRepositoryRootFullPath(System::String ^ repositoryRootFullPath);
Microsoft::VisualStudio::Shell::CodeContainerManagement::CodeContainerSourceControlProperties WithRepositoryRootFullPath(std::wstring const & repositoryRootFullPath);
public Microsoft.VisualStudio.Shell.CodeContainerManagement.CodeContainerSourceControlProperties WithRepositoryRootFullPath (string repositoryRootFullPath);
member this.WithRepositoryRootFullPath : string -> Microsoft.VisualStudio.Shell.CodeContainerManagement.CodeContainerSourceControlProperties
Public Function WithRepositoryRootFullPath (repositoryRootFullPath As String) As CodeContainerSourceControlProperties
参数
- repositoryRootFullPath
- String
根目录的完整路径。
返回
例外
如果为 null,则引发 repositoryRootFullPath 。
如果 repositoryRootFullPath 为空或为空白,则引发。