ShellUtility.FindProjectsInSolution(IVsSolution) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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