Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
_Solution Methods

_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 Returns an enumeration for items in a collection.
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.

Community Additions

© 2015 Microsoft