RefactoringUtils.GetProjects Method

Returns a list of project IVsHierarchy in the solution with a specified project type.

Namespace:  Microsoft.VisualStudio.Data.Schema.Project.Refactoring
Assembly:  Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)

Syntax

'Declaration
Public Shared Function GetProjects ( _
    solution As IVsSolution, _
    projectTypeGuid As Guid _
) As List(Of IVsHierarchy)
'Usage
Dim solution As IVsSolution
Dim projectTypeGuid As Guid
Dim returnValue As List(Of IVsHierarchy)

returnValue = RefactoringUtils.GetProjects(solution, _
    projectTypeGuid)
public static List<IVsHierarchy> GetProjects(
    IVsSolution solution,
    Guid projectTypeGuid
)
public:
static List<IVsHierarchy^>^ GetProjects(
    IVsSolution^ solution, 
    Guid projectTypeGuid
)
public static function GetProjects(
    solution : IVsSolution, 
    projectTypeGuid : Guid
) : List<IVsHierarchy>
static member GetProjects : 
        solution:IVsSolution * 
        projectTypeGuid:Guid -> List<IVsHierarchy> 

Parameters

Return Value

Type: System.Collections.Generic.List<IVsHierarchy>

.NET Framework Security

See Also

Reference

RefactoringUtils Class

RefactoringUtils Members

Microsoft.VisualStudio.Data.Schema.Project.Refactoring Namespace