This topic has not yet been rated - Rate this topic

IVsSccControlNewSolution Interface

Adds a newly created solution automatically to source control. .

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
[GuidAttribute("753D3585-2077-4E60-8EC5-96EE793F3D1A")]
[InterfaceTypeAttribute()]
public interface IVsSccControlNewSolution

The IVsSccControlNewSolution type exposes the following members.

  NameDescription
Public methodAddNewSolutionToSourceControlAdds the current solution to source control.
Public methodGetDisplayStringForActionRetrieves the text to be displayed with the "Add to Source Control" check box in the New Projects dialog box.
Top

This interface is used when the user chooses to add a newly created solution automatically to source control. The option to do this is presented to the user as a check box in the New Projects dialog box.

If this interface is not implemented, the user does not see an option to put the newly created solution into source control in the New Projects dialog box. The user can add the solution later, however.

Notes to Implementers

This interface is implemented by the source control package to support inserting a newly created solution into source control. A source control package can implement this interface if it chooses.

Notes to Callers

Visual Studio calls this interface to obtain the text for the check box that allows the user to add the solution to the source control. Then, if the check box is selected, Visual Studio calls this interface to add the newly created solution to source control.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.