Solution4 Methods

 

Namespace:   EnvDTE100
Assembly:  EnvDTE100 (in EnvDTE100.dll)

NameDescription
System_CAPS_pubmethodAddFromFile(String, Boolean)

Adds a project to the solution that is based on a project file already stored in the system.

System_CAPS_pubmethodAddFromTemplate(String, String, String, Boolean)

Copies an existing project file, and any items or subdirectories it contains, to the specified location and adds it to the solution.

System_CAPS_pubmethodAddFromTemplateEx(String, String, String, String, Boolean, UInt32)

Copies an existing project file, and any items or subdirectories it contains, to the specified location and adds it to the solution.

System_CAPS_pubmethodAddSolutionFolder(String)

Adds a solution folder to a ProjectItems collection.

System_CAPS_pubmethodClose(Boolean)

Closes the current solution.

System_CAPS_pubmethodCreate(String, String)

Creates an empty solution in the specified directory with the specified name.

System_CAPS_pubmethodFindProjectItem(String)

Locates an item in a project.

System_CAPS_pubmethodGetEnumerator()

Returns an enumeration for items in a collection.

System_CAPS_pubmethodGetProjectItemTemplate(String, String)

Returns a path to the indicated project item template.

System_CAPS_pubmethodGetProjectItemTemplates(String, String)

Returns a collection of project item templates for the specified project.

System_CAPS_pubmethodGetProjectTemplate(String, String)

Returns a path to the specified project template.

If a template has a RequiredFrameworkVersion element higher than 4.0, you should provide the version in the call so that the search for the template will find a match. For example, instead of calling GetProjectTemplate("Extensibility\\1033\\VSIXProject.zip", "CSharp"); call GetProjectTemplate("Extensibility\\1033\\VSIXProject.zip|FrameworkVersion=4.5", "CSharp");.

System_CAPS_pubmethodItem(Object)

Returns an indexed member of a Projects collection.

System_CAPS_pubmethodOpen(String)

Opens a specified solution.

System_CAPS_pubmethodProjectItemsTemplatePath(String)

Superseded by GetProjectItemTemplate.

System_CAPS_pubmethodRemove(Project)

Removes the specified project from the solution.

System_CAPS_pubmethodSaveAs(String)

Saves the solution.

Return to top
Show: