Export (0) Print
Expand All

_Solution.Projects Property

Gets a collection of the projects currently in the solution.

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

Projects Projects { get; }
/** @property */
Projects get_Projects ()

function get Projects () : Projects

Property Value

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.
   MsgBox(soln.Projects.Count)
End Sub

Community Additions

ADD
Show:
© 2014 Microsoft