Share via


Rule.Active 属性

定义

获取或设置一个值,该值指示是否应计算 Rule

public:
 property bool Active { bool get(); void set(bool value); };
public bool Active { get; set; }
member this.Active : bool with get, set
Public Property Active As Boolean

属性值

如果应计算规则,则为 true;否则为 false

注解

设置为 false 时,此属性类似于注释掉该规则。 默认值为 true

适用于