Freigeben über


_Solution.Projects-Eigenschaft

Ruft eine Auflistung aller Projekte ab, die sich derzeit in der Projektmappe befinden.

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

Syntax

'Declaration
ReadOnly Property Projects As Projects
Projects Projects { get; }
property Projects^ Projects {
    Projects^ get ();
}
abstract Projects : Projects with get
function get Projects () : Projects

Eigenschaftswert

Typ: EnvDTE.Projects
Eine Projects-Auflistung.

Beispiele

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

.NET Framework-Sicherheit

Siehe auch

Referenz

_Solution Schnittstelle

EnvDTE-Namespace