Partager via


SolutionPropertiesFilterExtensions.ProjectsByPath Method

Definition

Gets all projects matching a set of known paths.

public static Microsoft.VisualStudio.ProjectSystem.Query.IAsyncQueryable<Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot> ProjectsByPath (this Microsoft.VisualStudio.ProjectSystem.Query.ISolutionSnapshot solution, params string[] paths);
static member ProjectsByPath : Microsoft.VisualStudio.ProjectSystem.Query.ISolutionSnapshot * string[] -> Microsoft.VisualStudio.ProjectSystem.Query.IAsyncQueryable<Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot>
<Extension()>
Public Function ProjectsByPath (solution As ISolutionSnapshot, ParamArray paths As String()) As IAsyncQueryable(Of IProjectSnapshot)

Parameters

solution
ISolutionSnapshot

A solution.

paths
String[]

Paths to match projects to be retrieved from the query.

Returns

A project query with additional properties.

Applies to