A collection of XML validation errors.
Go to Property Listing | Method Listing
[], anyItem, count, everyItem, firstItem, item, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource
Property |
Type |
Access |
Description |
---|---|---|---|
readonly |
The number of objects in the collection. |
ValidationError [] (index:Number)
Returns the ValidationError with the specified index.
Parameter |
Type |
Description |
---|---|---|
index |
The index. |
ValidationError anyItem ()
Returns any ValidationError in the collection.
Number count ()
Displays the number of elements in the ValidationError.
ValidationError everyItem ()
Returns every ValidationError in the collection.
ValidationError firstItem ()
Returns the first ValidationError in the collection.
ValidationError item (index:Varies LongInteger String)
Returns the ValidationError with the specified index or name.
Parameter |
Type |
Description |
---|---|---|
index |
LongInteger |
The index or name. Can accept: Long Integer or String. |
ValidationError itemByRange (from:Varies LongInteger ValidationError String, to:Varies LongInteger ValidationError String)
Returns the ValidationErrors within the specified range.
Parameter |
Type |
Description |
---|---|---|
from |
LongInteger |
The ValidationError, index, or name at the beginning of the range. Can accept: ValidationError, Long Integer or String. |
to |
LongInteger |
The ValidationError, index, or name at the end of the range. Can accept: ValidationError, Long Integer or String. |
ValidationError lastItem ()
Returns the last ValidationError in the collection.
ValidationError middleItem ()
Returns the middle ValidationError in the collection.
ValidationError nextItem (obj:ValidationError)
Returns the ValidationError whose index follows the specified ValidationError in the collection.
Parameter |
Type |
Description |
---|---|---|
obj |
The ValidationError whose index comes before the desired ValidationError. |
ValidationError previousItem (obj:ValidationError)
Returns the ValidationError with the index previous to the specified index.
Parameter |
Type |
Description |
---|---|---|
obj |
The index of the ValidationError that follows the desired ValidationError. |
String toSource ()
Generates a string which, if executed, will return the ValidationError.
Document.validationErrors