共用方式為


IVsSccControlNewSolution.AddNewSolutionToSourceControl Method

Definition

Adds the current solution to source control.

public:
 int AddNewSolutionToSourceControl();
public:
 int AddNewSolutionToSourceControl();
int AddNewSolutionToSourceControl();
public int AddNewSolutionToSourceControl ();
abstract member AddNewSolutionToSourceControl : unit -> int
Public Function AddNewSolutionToSourceControl () As Integer

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From ivsscccontrolnewsolution.idl

HRESULT AddNewSolutionToSourceControl(void);  

This method will be called immediately after the solution has been created.

Applies to