ShellUtility.FindProjectsInSolution-Methode
Suchen Sie die Liste der Projekte in der aktuellen Projektmappe.
Diese API ist nicht CLS-kompatibel.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)
Syntax
'Declaration
<CLSCompliantAttribute(False)> _
Public Shared Function FindProjectsInSolution ( _
solution As IVsSolution _
) As Collection(Of IVsHierarchy)
[CLSCompliantAttribute(false)]
public static Collection<IVsHierarchy> FindProjectsInSolution(
IVsSolution solution
)
Parameter
- solution
Typ: Microsoft.VisualStudio.Shell.Interop.IVsSolution
Rückgabewert
Typ: System.Collections.ObjectModel.Collection<IVsHierarchy>
.NET Framework-Sicherheit
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.