Share via


FilePropertiesFilterExtensions.PropertiesByName Method

Definition

Gets source file properties with a set of known names.

[System.Diagnostics.CodeAnalysis.Experimental("VSEXTPREVIEW_PROJECTQUERY_PROPERTIES_BUILDPROPERTIES")]
public static Microsoft.VisualStudio.ProjectSystem.Query.IAsyncQueryable<Microsoft.VisualStudio.ProjectSystem.Query.IPropertySnapshot> PropertiesByName(this Microsoft.VisualStudio.ProjectSystem.Query.IFileSnapshot file, params string[] propertyNames);
[<System.Diagnostics.CodeAnalysis.Experimental("VSEXTPREVIEW_PROJECTQUERY_PROPERTIES_BUILDPROPERTIES")>]
static member PropertiesByName : Microsoft.VisualStudio.ProjectSystem.Query.IFileSnapshot * string[] -> Microsoft.VisualStudio.ProjectSystem.Query.IAsyncQueryable<Microsoft.VisualStudio.ProjectSystem.Query.IPropertySnapshot>
<Extension()>
Public Function PropertiesByName (file As IFileSnapshot, ParamArray propertyNames As String()) As IAsyncQueryable(Of IPropertySnapshot)

Parameters

file
IFileSnapshot

A source file

propertyNames
String[]

One or more names of properties.

Returns

A project query with additional properties.

Attributes

Applies to