Class Rule

Rule class

Represents a single validation rule in a diagram validation rule set.

public class Rule

Constructors

NameDescription
Rule()Constructor.

Properties

NameDescription
Category { get; set; }Specifies the text displayed in the Category column of the Issues window. Default is an empty string.
Description { get; set; }the description of the validation rule that appears in the user interface. Default is “Unknown”.
ID { get; set; }Specifies the unique identifier of the validation rule.
Ignored { get; set; }Specifies whether the validation rule is currently ignored. Default is False.
NameU { get; set; }Specifies the universal name of the validation rule.
RuleFilter { get; set; }Specifies the logical expression that determines whether the validation rule should be applied to a target object.
RuleTarget { get; set; }Specifies the type of object to which the validation rule applies.
RuleTest { get; set; }Specifies the logical expression that determines whether the target object satisfies the validation rule

See Also