IVsSolution.CreateSolution Method
Visual Studio 2008
Creates a new solution.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- lpszLocation
- Type: System.String
[in, unique] Path to the solution, excluding the filename.
- lpszName
- Type: System.String
[in] Filename, excluding the extension.
- grfCreateFlags
- Type: System.UInt32
[in, unique] Controls how a new solution is created. For a list of grfCreateFlags values, see __VSCREATESOLUTIONFLAGS.
Return Value
Type: System.Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.