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.

[System.Runtime.InteropServices.DispId(209)]
[get: System.Runtime.InteropServices.DispId(209)]
public EnvDTE.Solution Solution { get; }
Property Value

A Solution object.

Examples

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

Applies to