Partilhar via


IVsSccControlNewSolution Interface

Definition

Adds a newly created solution automatically to source control. .

public interface class IVsSccControlNewSolution
public interface class IVsSccControlNewSolution
__interface IVsSccControlNewSolution
[System.Runtime.InteropServices.Guid("753D3585-2077-4E60-8EC5-96EE793F3D1A")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsSccControlNewSolution
[<System.Runtime.InteropServices.Guid("753D3585-2077-4E60-8EC5-96EE793F3D1A")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsSccControlNewSolution = interface
Public Interface IVsSccControlNewSolution
Attributes

Remarks

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.

Methods

AddNewSolutionToSourceControl()

Adds the current solution to source control.

GetDisplayStringForAction(String)

Retrieves the text to be displayed with the "Add to Source Control" check box in the New Projects dialog box.

Applies to