Share via


CodeContainerLocalProperties.WithSourceControl Method

Definition

Returns a CodeContainerLocalProperties instance whose SourceControl is set to the supplied sourceControlProperties.

public:
 Microsoft::VisualStudio::Shell::CodeContainerManagement::CodeContainerLocalProperties ^ WithSourceControl(Microsoft::VisualStudio::Shell::CodeContainerManagement::CodeContainerSourceControlProperties ^ sourceControlProperties);
Microsoft::VisualStudio::Shell::CodeContainerManagement::CodeContainerLocalProperties WithSourceControl(Microsoft::VisualStudio::Shell::CodeContainerManagement::CodeContainerSourceControlProperties const & sourceControlProperties);
public Microsoft.VisualStudio.Shell.CodeContainerManagement.CodeContainerLocalProperties WithSourceControl (Microsoft.VisualStudio.Shell.CodeContainerManagement.CodeContainerSourceControlProperties sourceControlProperties);
member this.WithSourceControl : Microsoft.VisualStudio.Shell.CodeContainerManagement.CodeContainerSourceControlProperties -> Microsoft.VisualStudio.Shell.CodeContainerManagement.CodeContainerLocalProperties
Public Function WithSourceControl (sourceControlProperties As CodeContainerSourceControlProperties) As CodeContainerLocalProperties

Parameters

sourceControlProperties
CodeContainerSourceControlProperties

The new Source Control properties.

Returns

Applies to