Compartir a través de


ProjectPropertiesFilterExtensions.FilesWithItemTypes Method

Definition

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.

Applies to