Partilhar via


ShellUtility.FindProjectsInSolution(IVsSolution) Method

Definition

Important

This API is not CLS-compliant.

Find the list of projects in the current solution.

public:
 static System::Collections::ObjectModel::Collection<Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^> ^ FindProjectsInSolution(Microsoft::VisualStudio::Shell::Interop::IVsSolution ^ solution);
[System.CLSCompliant(false)]
public static System.Collections.ObjectModel.Collection<Microsoft.VisualStudio.Shell.Interop.IVsHierarchy> FindProjectsInSolution (Microsoft.VisualStudio.Shell.Interop.IVsSolution solution);
public static System.Collections.ObjectModel.Collection<Microsoft.VisualStudio.Shell.Interop.IVsHierarchy> FindProjectsInSolution (Microsoft.VisualStudio.Shell.Interop.IVsSolution solution);
[<System.CLSCompliant(false)>]
static member FindProjectsInSolution : Microsoft.VisualStudio.Shell.Interop.IVsSolution -> System.Collections.ObjectModel.Collection<Microsoft.VisualStudio.Shell.Interop.IVsHierarchy>
static member FindProjectsInSolution : Microsoft.VisualStudio.Shell.Interop.IVsSolution -> System.Collections.ObjectModel.Collection<Microsoft.VisualStudio.Shell.Interop.IVsHierarchy>
Public Shared Function FindProjectsInSolution (solution As IVsSolution) As Collection(Of IVsHierarchy)

Parameters

solution
IVsSolution

Returns

A list of projects hierarchies from the current solution.

Attributes

Applies to