Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Projects Property

_Solution.Projects Property

Gets a collection of the projects currently in the solution.

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

Projects Projects { get; }

Property Value

Type: EnvDTE.Projects
A Projects collection.

Sub ProjectsExample()
   ' Open a solution before running this example.
   Dim soln As Solution

   ' Create a reference to the solution.
   soln = DTE.Solution

   ' List the number of projects.
End Sub

Community Additions

© 2015 Microsoft