_Solution.Projects, propriété

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

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

Syntaxe

'Déclaration
ReadOnly Property Projects As Projects
Projects Projects { get; }
property Projects^ Projects {
    Projects^ get ();
}
abstract Projects : Projects with 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

Sécurité .NET Framework

Voir aussi

Référence

_Solution Interface

EnvDTE, espace de noms