Share via


ProjectConfigurationPropertiesFilterExtensions.FilesByPath Method

Definition

Gets source files with the given paths.

[System.Diagnostics.CodeAnalysis.Experimental("VSEXTPREVIEW_PROJECTQUERY_PROPERTIES_VCPROJECTS")]
public static Microsoft.VisualStudio.ProjectSystem.Query.IAsyncQueryable<Microsoft.VisualStudio.ProjectSystem.Query.IFileSnapshot> FilesByPath(this Microsoft.VisualStudio.ProjectSystem.Query.IProjectConfigurationSnapshot projectConfiguration, params string[] filePaths);
[<System.Diagnostics.CodeAnalysis.Experimental("VSEXTPREVIEW_PROJECTQUERY_PROPERTIES_VCPROJECTS")>]
static member FilesByPath : Microsoft.VisualStudio.ProjectSystem.Query.IProjectConfigurationSnapshot * string[] -> Microsoft.VisualStudio.ProjectSystem.Query.IAsyncQueryable<Microsoft.VisualStudio.ProjectSystem.Query.IFileSnapshot>
<Extension()>
Public Function FilesByPath (projectConfiguration As IProjectConfigurationSnapshot, ParamArray filePaths As String()) As IAsyncQueryable(Of IFileSnapshot)

Parameters

projectConfiguration
IProjectConfigurationSnapshot

The project configuration.

filePaths
String[]

One or more source files paths. Relative paths are supported for some project systems such as CPS and traditional projects. The fallback provider supports absolute paths only.

Returns

A new query with Files conditions applied.

Attributes

Applies to