_Solution::Close Method (Boolean)
Visual Studio 2015
Closes the current solution.
Assembly: EnvDTE (in EnvDTE.dll)
Parameters
- SaveFirst
-
Type:
System::Boolean
Indicates whether to save the solution before closing it; true if the solution should be saved prior to closing it, false if not.
Sub CreateExample(ByVal dte As DTE) ' Open a solution before running this example. Dim soln As Solution ' Create a reference to the solution. soln = dte.Solution ' Create a new solution. soln.Create("c:\temp", "ANewSoln.sln") End Sub
Show: