ProjectPropertiesFilterExtensions.FilesUnderDirectory 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 physically present under the given directory.
public static Microsoft.VisualStudio.ProjectSystem.Query.IAsyncQueryable<Microsoft.VisualStudio.ProjectSystem.Query.IFileSnapshot> FilesUnderDirectory (this Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot project, string relativeOrPhysicalDirectoryPath, bool recursive);
static member FilesUnderDirectory : Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot * string * bool -> Microsoft.VisualStudio.ProjectSystem.Query.IAsyncQueryable<Microsoft.VisualStudio.ProjectSystem.Query.IFileSnapshot>
<Extension()>
Public Function FilesUnderDirectory (project As IProjectSnapshot, relativeOrPhysicalDirectoryPath As String, recursive As Boolean) As IAsyncQueryable(Of IFileSnapshot)
Parameters
- project
- IProjectSnapshot
The project.
- relativeOrPhysicalDirectoryPath
- String
Project relative or physical path of the directory to retrieve the source files from.
- recursive
- Boolean
Indicates if the retrieval is recursive or not.
Returns
A new query with Files conditions applied.