Partager via


CodeAnalysisRuleSettings.IsRuleDisabled(String) Method

Definition

Is a particular rule in the rule settings disabled?

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

Parameters

ruleId
String

Fully qualified Id for the rule

Returns

true if the problem is disabled; false otherwise

Exceptions

If the ruleId is null or whitespace

Applies to