Export (0) Print
Expand All

Rule.Active Property

Gets or sets a value that indicates whether the Rule should be evaluated.

Namespace:  System.Workflow.Activities.Rules
Assembly:  System.Workflow.Activities (in System.Workflow.Activities.dll)

public bool Active { get; set; }

Property Value

Type: System.Boolean
true if the Rule should be evaluated; otherwise, false.

When set to false, this property is similar to commenting out the rule. The default is true.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0
© 2015 Microsoft