다음을 통해 공유


FilePropertiesFilterExtensions.PropertiesByName Method

Definition

Gets source file properties with a set of known names.

public static Microsoft.VisualStudio.ProjectSystem.Query.IAsyncQueryable<Microsoft.VisualStudio.ProjectSystem.Query.IPropertySnapshot> PropertiesByName (this Microsoft.VisualStudio.ProjectSystem.Query.IFileSnapshot file, params string[] propertyNames);
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 name of properties.

Returns

A project query with additional properties.

Applies to