Partager via


_Solution.Projects, propriété

Mise à jour : novembre 2007

Obtient une collection des projets actuellement présents dans la solution.

Espace de noms :  EnvDTE
Assembly :  EnvDTE (dans EnvDTE.dll)

Syntaxe

ReadOnly Property Projects As Projects

Dim instance As _Solution
Dim value As Projects

value = instance.Projects
Projects Projects { get; }
property Projects^ Projects {
    Projects^ get ();
}
function get Projects () : Projects

Valeur de propriété

Type : EnvDTE.Projects

Collection Projects.

Exemples

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

Autorisations

Voir aussi

Référence

_Solution, interface

Membres _Solution

EnvDTE, espace de noms