ValidationErrors
QuickLinks
Properties
Property | Type | Access | Description |
---|---|---|---|
length | number | readonly | The number of objects in the collection. |
Methods
Instances
ValidationError [] (index:
number)
Returns the ValidationError with the specified index.
Parameter | Type | Description |
---|---|---|
index | number | The index. |
ValidationError anyItem ()
Returns any ValidationError in the collection.
number count ()
Displays the number of elements in the ValidationError.
Array
of ValidationError everyItem ()
Returns every ValidationError in the collection.
ValidationError firstItem ()
Returns the first ValidationError in the collection.
ValidationError item (index:
varies)
Returns the ValidationError with the specified index or name.
Parameter | Type | Description |
---|---|---|
index | Long Integer String | The index or name. Can accept: Long Integer or String. |
Array
of ValidationError itemByRange (from:
varies, to:
varies)
Returns the ValidationErrors within the specified range.
Parameter | Type | Description |
---|---|---|
from | Long Integer String ValidationError | The ValidationError, index, or name at the beginning of the range. Can accept: ValidationError, Long Integer or String. |
to | Long Integer String ValidationError | 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 | ValidationError | 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 | ValidationError | The index of the ValidationError that follows the desired ValidationError. |
string toSource ()
Generates a string which, if executed, will return the ValidationError.
Element of
Document.validationErrors
Jongware, 23-Mar-2011 v3.0.3d | Contents :: Index |