Číst v angličtině

Sdílet prostřednictvím


RuleManager.DisableRule Method

Disables rules of a particular type.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

public void DisableRule(
    Type ruleType
)

Parameters

  • ruleType
    Type: System.Type
    The type of rule to disable.

Remarks

When a rule is disabled, it cannot be raised.

.NET Framework Security

See Also

Reference

RuleManager Class

Microsoft.VisualStudio.Modeling Namespace