Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Represents all projects and solution-wide properties in the integrated development environment (IDE). Supersedes Solution and Solution2.
Namespace: EnvDTE90
Assembly: EnvDTE90 (in EnvDTE90.dll)
Syntax
'Declaration
<GuidAttribute("DF23915F-FDA3-4DD5-9CAA-2E1372C2BB16")> _
Public Interface Solution3 _
Inherits Solution2
[GuidAttribute("DF23915F-FDA3-4DD5-9CAA-2E1372C2BB16")]
public interface Solution3 : Solution2
[GuidAttribute(L"DF23915F-FDA3-4DD5-9CAA-2E1372C2BB16")]
public interface class Solution3 : Solution2
[<GuidAttribute("DF23915F-FDA3-4DD5-9CAA-2E1372C2BB16")>]
type Solution3 =
interface
interface Solution2
end
public interface Solution3 extends Solution2
The Solution3 type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
![]() |
AddIns | Gets an AddIns collection, which contains all currently available add-ins associated with the solution. |
![]() |
Count | Gets a value indicating the number of projects in the solution. |
![]() |
DTE | Gets the top-level extensibility object. |
![]() |
Extender | Gets the requested Extender object if it is available for this object. |
![]() |
ExtenderCATID | Gets the Extender category ID (CATID) for the object. |
![]() |
ExtenderNames | Gets a list of available Extenders for the object. |
![]() |
FileName | Infrastructure. Gets the file name. |
![]() |
FullName | Gets the full path and name of the object's file. |
![]() |
Globals | Gets the Globals object that contains any variable values that may be saved in the solution (.sln) file, the project file, or the user's profile data. |
![]() |
IsDirty | Infrastructure. Determines whether the solution is dirty (modified but not saved). |
![]() |
IsOpen | Gets whether a solution is open. |
![]() |
Parent | Gets the immediate parent object of a Solution2 object. |
![]() |
Projects | Gets a collection of the projects currently in the solution. |
![]() |
Properties | Gets a collection of all properties that pertain to the Solution2 object. |
![]() |
Saved | Gets or sets a value indicating whether a solution has not been modified since last being saved or opened. |
![]() |
SolutionBuild | Gets the SolutionBuild object for the solution, which represents the root of the build automation model at the solution level. |
![]() |
TemplatePath | Superseded by GetProjectTemplate. |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
AddFromFile | Adds a project to the solution that is based on a project file already stored in the system. |
![]() |
AddFromTemplate | Copies an existing project file, and any items or subdirectories it contains, to the specified location and adds it to the solution. |
![]() |
AddSolutionFolder | Adds a solution folder to a ProjectItems collection. |
![]() |
Close | Closes the current solution. |
![]() |
Create | Creates an empty solution in the specified directory with the specified name. |
![]() |
FindProjectItem | Locates an item in a project. |
![]() |
GetEnumerator | Returns an enumeration for items in a collection. |
![]() |
GetProjectItemTemplate | Returns a path to the indicated project item template. |
![]() |
GetProjectItemTemplates | Returns a collection of project item templates for the specified project. |
![]() |
GetProjectTemplate | 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");. |
![]() |
Item | Returns an indexed member of a Projects collection. |
![]() |
Open | Opens a specified solution. |
![]() |
ProjectItemsTemplatePath | Superseded by GetProjectItemTemplate. |
![]() |
Remove | Removes the specified project from the solution. |
![]() |
.gif)
.gif)