Partager via


ProjectConfigurationPropertiesFilterExtensions.RuleResultsByRuleName Method

Definition

Gets the rule results with a set of known rule names.

public static Microsoft.VisualStudio.ProjectSystem.Query.IAsyncQueryable<Microsoft.VisualStudio.ProjectSystem.Query.IRuleResultSnapshot> RuleResultsByRuleName (this Microsoft.VisualStudio.ProjectSystem.Query.IProjectConfigurationSnapshot projectConfiguration, params string[] ruleNames);
static member RuleResultsByRuleName : Microsoft.VisualStudio.ProjectSystem.Query.IProjectConfigurationSnapshot * string[] -> Microsoft.VisualStudio.ProjectSystem.Query.IAsyncQueryable<Microsoft.VisualStudio.ProjectSystem.Query.IRuleResultSnapshot>
<Extension()>
Public Function RuleResultsByRuleName (projectConfiguration As IProjectConfigurationSnapshot, ParamArray ruleNames As String()) As IAsyncQueryable(Of IRuleResultSnapshot)

Parameters

projectConfiguration
IProjectConfigurationSnapshot

ProjectConfiguration

ruleNames
String[]

One or more rule names.

Returns

A project query with additional properties.

Applies to