Share via


CodeAnalysisRuleSettings.EnableRule(String) Method

Definition

Includes a rule for execution

public void EnableRule (string ruleId);
member this.EnableRule : string -> unit
Public Sub EnableRule (ruleId As String)

Parameters

ruleId
String

Fully qualified Id for the rule

Exceptions

If the ruleId is null or whitespace

Applies to