A collection of quit behavior objects.
Methods
QuitBehavioradd ([withProperties:
Object])
Creates a new QuitBehavior.
| Parameter | Type | Description |
|---|---|---|
| withProperties | Object | Initial values for properties of the new QuitBehavior (Optional) |
QuitBehavioranyItem ()
Returns any QuitBehavior in the collection.
number count ()
Displays the number of elements in the QuitBehavior.
Array of QuitBehavioreveryItem ()
Returns every QuitBehavior in the collection.
QuitBehaviorfirstItem ()
Returns the first QuitBehavior in the collection.
QuitBehavioritem (index:
any)
Returns the QuitBehavior with the specified index or name.
| Parameter | Type | Description |
|---|---|---|
| index | Long Integer String |
The index or name. Can accept: Long Integer or String. |
QuitBehavioritemByID (id:
number)
Returns the QuitBehavior with the specified ID.
| Parameter | Type | Description |
|---|---|---|
| id | number | The ID. |
QuitBehavioritemByName (name:
string)
Returns the QuitBehavior with the specified name.
| Parameter | Type | Description |
|---|---|---|
| name | string | The name. |
Array of QuitBehavioritemByRange (from:
any, to:
any)
Returns the QuitBehaviors within the specified range.
| Parameter | Type | Description |
|---|---|---|
| from | QuitBehavior Long Integer String |
The QuitBehavior, index, or name at the beginning of the range. Can accept: QuitBehavior, Long Integer or String. |
| to | QuitBehavior Long Integer String |
The QuitBehavior, index, or name at the end of the range. Can accept: QuitBehavior, Long Integer or String. |
QuitBehaviorlastItem ()
Returns the last QuitBehavior in the collection.
QuitBehaviormiddleItem ()
Returns the middle QuitBehavior in the collection.
QuitBehaviornextItem (obj:
QuitBehavior)
Returns the QuitBehavior whose index follows the specified QuitBehavior in the collection.
| Parameter | Type | Description |
|---|---|---|
| obj | QuitBehavior | The QuitBehavior whose index comes before the desired QuitBehavior. |
QuitBehaviorpreviousItem (obj:
QuitBehavior)
Returns the QuitBehavior with the index previous to the specified index.
| Parameter | Type | Description |
|---|---|---|
| obj | QuitBehavior | The index of the QuitBehavior that follows the desired QuitBehavior. |
string toSource ()
Generates a string which, if executed, will return the QuitBehavior.