ValidationErrors
QuickLinks
Properties
Property | Type | Access | Description |
---|---|---|---|
length | number | readonly | The number of objects in the collection. |
Methods
Instances
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:
any)
Returns the ValidationError with the specified index or name.
Parameter | Type | Description |
---|---|---|
index | Long String | The index or name. Can accept: Long or String. |
ValidationError itemByName (name:
string)
Returns the ValidationError with the specified name.
Parameter | Type | Description |
---|---|---|
name | string | The name. |
Array
of ValidationError itemByRange (from:
any, to:
any)
Returns the ValidationErrors within the specified range.
Parameter | Type | Description |
---|---|---|
from | Long String ValidationError | The ValidationError, index, or name at the beginning of the range. Can accept: ValidationError, Long or String. |
to | Long String ValidationError | The ValidationError, index, or name at the end of the range. Can accept: ValidationError, Long 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, 27-Jun-2010 v3.0.3d | Contents :: Index |