RuleCondition Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines a condition on a field when the rule should be triggered.
public class RuleCondition
type RuleCondition = class
Public Class RuleCondition
- Inheritance
-
RuleCondition
Constructors
| RuleCondition() |
Properties
| ConditionType |
Type of condition. $When. This condition limits the execution of its children to cases when another field has a particular value, i.e. when the Is value of the referenced field is equal to the given literal value. $WhenNot.This condition limits the execution of its children to cases when another field does not have a particular value, i.e.when the Is value of the referenced field is not equal to the given literal value. $WhenChanged.This condition limits the execution of its children to cases when another field has changed, i.e.when the Is value of the referenced field is not equal to the Was value of that field. $WhenNotChanged.This condition limits the execution of its children to cases when another field has not changed, i.e.when the Is value of the referenced field is equal to the Was value of that field. |
| Field |
Field that defines condition. |
| Value |
Value of field to define the condition for rule. |