Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

_Solution Methods

  Name Description
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