Revalidate method

Applies to

Description

Reevaluates the set according to the set logic and reveals whether the set would still be accepted. The method does not change the set or its status.

Syntax

[ReturnValue =] Object.Revalidate(ByRef Valid As Boolean)

Part

Data type

Description

Object

Object

An object expression that evaluates to the COM Set object.

Valid

Boolean (reference)

Set to True if the set still would be accepted by the set logic from the set definition.

Return value

Data type: Integer – 0 on success. See Event return value constants.

Remarks

The method takes into consideration members that are tagged for deletion but not yet actually removed from the set. Such members are skipped. Break expressions are also reevaluated by the method.

If the method is called on an unfinished set, for instance while the set is still being scanned or imported from image files, then it might state that the set is invalid even thought it could be valid later, after more forms are added to it.

An empty set is always considered invalid, even if the set logic theoretically allows empty sets.

Classic methods

None