ProjectPropertiesFilterExtensions.FilesWithItemTypes 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 with the given item types.
public static Microsoft.VisualStudio.ProjectSystem.Query.IAsyncQueryable<Microsoft.VisualStudio.ProjectSystem.Query.IFileSnapshot> FilesWithItemTypes (this Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot project, params string[] itemTypes);
static member FilesWithItemTypes : Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot * string[] -> Microsoft.VisualStudio.ProjectSystem.Query.IAsyncQueryable<Microsoft.VisualStudio.ProjectSystem.Query.IFileSnapshot>
<Extension()>
Public Function FilesWithItemTypes (project As IProjectSnapshot, ParamArray itemTypes As String()) As IAsyncQueryable(Of IFileSnapshot)
Parameters
- project
- IProjectSnapshot
The project.
- itemTypes
- String[]
One or more item types.
Returns
A new query with Files conditions applied.