EvalRequires Property

Object List Next Object

Defined By:
ControlGroup

Description:

Regulates the error behavior implicit iteration.

Details:

ControlGroup can also be used to implicitly iterate its elements. ControlGroup.method(arglist) attempts to evaluate methods, either function or sub, on each element in the collection. The evaluation is controlled by the enumerated property EvalRequires.

EvalRequires can take on three values: MatchNone, MatchOne, MatchAll. If EvalRequires is set to MatchNone, the evaluation will proceed without throwing, even if none of the elements of the collection can successfully evaluate the given method. If EvalRequires is set to MatchAll, the evaluation will throw an exception if any member is unsuccessful in evaluating the given method. If EvalRequires is set to MatchOne, the evaluation will throw an exception unless at least one of the elements successfully evaluates the given method.

Data Type: Enum - EvalRequires