InDesign Server2025
API 20.5.0.49
Collection of ValidationError

ValidationErrors

A collection of XML validation errors.

Properties

NameType AccessDescription
Number readonly The number of objects in the collection.

Methods

ValidationError

Returns the ValidationError with the specified index.

index Number The index.
ValidationError

Returns any ValidationError in the collection.

Number

Displays the number of elements in the ValidationError.

ValidationError[]

Returns every ValidationError in the collection.

ValidationError

Returns the first ValidationError in the collection.

ValidationError

Returns the ValidationError with the specified index or name.

index LongInteger | String The index or name. Can accept: Long Integer or String.
ValidationError[]

Returns the ValidationErrors within the specified range.

from LongInteger | ValidationError | String The ValidationError, index, or name at the beginning of the range. Can accept: ValidationError, Long Integer or String.
to LongInteger | ValidationError | String The ValidationError, index, or name at the end of the range. Can accept: ValidationError, Long Integer or String.
ValidationError

Returns the last ValidationError in the collection.

ValidationError

Returns the middle ValidationError in the collection.

ValidationError

Returns the ValidationError whose index follows the specified ValidationError in the collection.

obj ValidationError The ValidationError whose index comes before the desired ValidationError.
ValidationError

Returns the ValidationError with the index previous to the specified index.

obj ValidationError The index of the ValidationError that follows the desired ValidationError.
String

Generates a string which, if executed, will return the ValidationError.

Object of 1

Properties elsewhere that hold a ValidationErrors.