Partilhar via


DTE2.Solution Property

Definition

Gets the Solution object that represents all open projects in the current instance of the environment and allows access to the build objects.

public:
 property EnvDTE::Solution ^ Solution { EnvDTE::Solution ^ get(); };
public:
 property EnvDTE::Solution ^ Solution { EnvDTE::Solution ^ get(); };
[System.Runtime.InteropServices.DispId(209)]
public EnvDTE.Solution Solution { [System.Runtime.InteropServices.DispId(209)] get; }
[<System.Runtime.InteropServices.DispId(209)>]
[<get: System.Runtime.InteropServices.DispId(209)>]
member this.Solution : EnvDTE.Solution
Public ReadOnly Property Solution As Solution

Property Value

A Solution object.

Implements

Attributes

Examples

Sub SolutionExample()  
  MsgBox(DTE2.Solution.FullName)  
End Sub  

Applies to