FilePropertiesFilterExtensions.PropertiesByName 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 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.