Delen via


ShellUtility.FindProjectsInSolution Method

Find the list of projects in the current solution.

This API is not CLS-compliant. 

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
)
[CLSCompliantAttribute(false)]
public:
static Collection<IVsHierarchy^>^ FindProjectsInSolution(
    IVsSolution^ solution
)
[<CLSCompliantAttribute(false)>]
static member FindProjectsInSolution : 
        solution:IVsSolution -> Collection<IVsHierarchy> 
public static function FindProjectsInSolution(
    solution : IVsSolution
) : Collection<IVsHierarchy>

Parameters

Return Value

Type: System.Collections.ObjectModel.Collection<IVsHierarchy>

.NET Framework Security

See Also

Reference

ShellUtility Class

Microsoft.VisualStudio.Modeling.Shell Namespace