This documentation is archived and is not being maintained.

Rule Element

Office 2010

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

<Rule
    ID
    NameU
    [Category]
    [Description]
    [RuleTarget]
    [Ignored]>
</Rule>

ID

Required unsigned Long. Specifies the unique identifier for the validation rule.

NameU

Required string. Specifies the universal name of the validation rule.

[Category]

Optional string. Specifies the text displayed in the Category column of the Issues window. Default is an empty string.

[Description]

Optional string. Specifies the description of the validation rule that appears in the user interface. Default is "Unknown".

[RuleTarget]

Optional VisRuleTargets. Specifies the type of object to which the validation rule applies.

[Ignored]

Optional Boolean. Specifies whether the validation rule is currently ignored. Default is False.

Property

Value

Name

Rule

Minimum Occurrences

0

Maximum Occurrences

Unbounded

Show: