Partager via


DTE2.Solution Property

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

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

Syntax

'Declaration
ReadOnly Property Solution As Solution
Solution Solution { get; }
property Solution^ Solution {
    Solution^ get ();
}
abstract Solution : Solution with get
function get Solution () : Solution

Property Value

Type: EnvDTE.Solution
A Solution object.

Examples

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

.NET Framework Security

See Also

Reference

DTE2 Interface

EnvDTE80 Namespace