CodeContainerLocalProperties.WithSourceControl 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 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.