Rule.Active Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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
Available since 3.0
Return to top