CodeAnalysisRuleSettings.IsRuleDisabled(String) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Une règle particulière est-elle désactivée dans les paramètres de la règle ?
public bool IsRuleDisabled(string ruleId);
member this.IsRuleDisabled : string -> bool
Public Function IsRuleDisabled (ruleId As String) As Boolean
Paramètres
- ruleId
- String
ID complet de la règle
Retours
true si le problème est désactivé ; false sinon
Exceptions
Si la ruleId valeur est null ou l’espace blanc