ProjectPropertiesFilterExtensions.FilesUnderView Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.