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)

Syntax

'Declaration
<GuidAttribute("753D3585-2077-4E60-8EC5-96EE793F3D1A")> _
<InterfaceTypeAttribute()> _
Public Interface IVsSccControlNewSolution
[GuidAttribute("753D3585-2077-4E60-8EC5-96EE793F3D1A")]
[InterfaceTypeAttribute()]
public interface IVsSccControlNewSolution
[GuidAttribute(L"753D3585-2077-4E60-8EC5-96EE793F3D1A")]
[InterfaceTypeAttribute()]
public interface class IVsSccControlNewSolution
[<GuidAttribute("753D3585-2077-4E60-8EC5-96EE793F3D1A")>]
[<InterfaceTypeAttribute()>]
type IVsSccControlNewSolution =  interface end
public interface IVsSccControlNewSolution

The IVsSccControlNewSolution type exposes the following members.

Methods

  Name Description
Public method AddNewSolutionToSourceControl Adds the current solution to source control.
Public method GetDisplayStringForAction Retrieves the text to be displayed with the "Add to Source Control" check box in the New Projects dialog box.

Top

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.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace