CodeContainerSourceControlProperties.WithRepositoryName(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an instance of CodeContainerSourceControlProperties whose RepositoryName is set to repositoryName
.
public:
Microsoft::VisualStudio::Shell::CodeContainerManagement::CodeContainerSourceControlProperties ^ WithRepositoryName(System::String ^ repositoryName);
Microsoft::VisualStudio::Shell::CodeContainerManagement::CodeContainerSourceControlProperties WithRepositoryName(std::wstring const & repositoryName);
public Microsoft.VisualStudio.Shell.CodeContainerManagement.CodeContainerSourceControlProperties WithRepositoryName (string repositoryName);
member this.WithRepositoryName : string -> Microsoft.VisualStudio.Shell.CodeContainerManagement.CodeContainerSourceControlProperties
Public Function WithRepositoryName (repositoryName As String) As CodeContainerSourceControlProperties
Parameters
- repositoryName
- String
The name of the repository.
Returns
Exceptions
Thrown if repositoryName
is null.
Thrown if repositoryName
is empty or whitespace.