ProjectPropertiesFilterExtensions.FilesUnderView Method

Definition

Gets source files present under the given path in the solution explorer view.

public static Microsoft.VisualStudio.ProjectSystem.Query.IAsyncQueryable<Microsoft.VisualStudio.ProjectSystem.Query.IFileSnapshot> FilesUnderView (this Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot project, string relativePath, bool recursive);
static member FilesUnderView : Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot * string * bool -> Microsoft.VisualStudio.ProjectSystem.Query.IAsyncQueryable<Microsoft.VisualStudio.ProjectSystem.Query.IFileSnapshot>
<Extension()>
Public Function FilesUnderView (project As IProjectSnapshot, relativePath As String, recursive As Boolean) As IAsyncQueryable(Of IFileSnapshot)

Parameters

project
IProjectSnapshot

The project.

relativePath
String

Project relative path to retrieve the source files from.

recursive
Boolean

Indicates if the retrieval is recursive or not.

Returns

A new query with Files conditions applied.

Applies to