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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.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
- solution
Type: Microsoft.VisualStudio.Shell.Interop.IVsSolution
Return Value
Type: Collection<IVsHierarchy>
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.