Share via


ProjectConfigurationPropertiesFilterExtensions.PropertiesByRuleName Method

Definition

Gets project properties for a rule with a set of known names.

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

Parameters

projectConfiguration
IProjectConfigurationSnapshot

ProjectConfiguration

ruleName
String

the rule to fetch properties from.

propertyNames
String[]

One or more names of properties. All properties are returned if names are not specified.

Returns

A project query with additional properties.

Attributes

Applies to