CodeAnalysisRuleSettings.IsRuleProblemTreatedAsError(String) CodeAnalysisRuleSettings.IsRuleProblemTreatedAsError(String) CodeAnalysisRuleSettings.IsRuleProblemTreatedAsError(String) Method

Definition

Is a particular rule in the rule settings treated as error?

public bool IsRuleProblemTreatedAsError (string ruleId);
member this.IsRuleProblemTreatedAsError : string -> bool
Public Function IsRuleProblemTreatedAsError (ruleId As String) As Boolean

Parameters

ruleId
String String String

Fully qualified Id for the rule

Returns

true if the problem is treated as error; false otherwise

Exceptions

Applies to