共用方式為


RuleTest Element

Specifies the logical expression that determines whether the target object satisfies the validation rule.

Syntax

<RuleTest
    [Formula]>
</RuleTest>

Attributes

Formula

Optional string. Represents the element's formula. This attribute can contain one of the following strings: "someFormula" if the formula exists locally, "No Formula" if the formula is locally deleted or blocked, or "Inh" if the formula is inherited.

If the attribute is not present, the element's formula is a simple constant. For example, <element>5</element>.

Element properties

Property

Value

Name

RuleTest

Minimum Occurrences

0

Maximum Occurrences

1

Element information

Parent elements

Rule

Child elements

None

See also

TestExpression Property