This documentation is archived and is not being maintained.

_Solution Methods

The _Solution type exposes the following members.

Public method AddFromFile Adds a project to the solution, based on a project file already stored in the system.
Public method AddFromTemplate Copies an existing project file, and any items or subdirectories it contains, to the specified location and adds it to the solution.
Public method Close Closes the current solution.
Public method Create Creates an empty solution in the specified directory with the specified name.
Public method FindProjectItem Locates an item in a project.
Public method GetEnumerator Overloaded.
Public method Item Returns a Project object in a Projects collection.
Public method Open Opens the solution in the specified view.
Public method ProjectItemsTemplatePath Returns the location of project item templates for the specified project type.
Public method Remove Removes the specified project from the solution.
Public method SaveAs Saves the solution.