Share via


CodeContainerSourceControlProperties.WithRepositoryName(String) Method

Definition

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.

Applies to