ProjectConfigurationPropertiesFilterExtensions.RuleResultsByRuleName 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 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.