다음을 통해 공유


ProjectQueryableSpacePropertiesFilterExtensions.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.IProjectModelQueryableSpace queryableSpace, params string[] projectFilePaths);
static member ProjectsByPath : Microsoft.VisualStudio.ProjectSystem.Query.IProjectModelQueryableSpace * string[] -> Microsoft.VisualStudio.ProjectSystem.Query.IAsyncQueryable<Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot>
<Extension()>
Public Function ProjectsByPath (queryableSpace As IProjectModelQueryableSpace, ParamArray projectFilePaths As String()) As IAsyncQueryable(Of IProjectSnapshot)

Parameters

queryableSpace
IProjectModelQueryableSpace

The top level workspace.

projectFilePaths
String[]

Paths to match projects to be retrieved from the query.

Returns

A project query with additional properties.

Applies to