Compartilhar via


Propriedade _Solution.Projects

Obtém uma coleção de projetos atualmente na solução.

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

Sintaxe

'Declaração
ReadOnly Property Projects As Projects
    Get
Projects Projects { get; }
property Projects^ Projects {
    Projects^ get ();
}
abstract Projects : Projects
function get Projects () : Projects

Valor de propriedade

Tipo: EnvDTE.Projects
A Projects coleção.

Exemplos

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

Segurança do .NET Framework

Consulte também

Referência

_Solution Interface

Namespace EnvDTE