_Solution::Projects Property
Visual Studio 2015
Gets a collection of the projects currently in the solution.
Assembly: EnvDTE (in EnvDTE.dll)
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
Show: