InstancesTrapPreset [] (index:
number)
Returns the TrapPreset with the specified index.
Parameter | Type | Description |
index | number | The index. |
TrapPreset add ([withProperties:
Object])
Creates a new TrapPreset.
Parameter | Type | Description |
withProperties | Object | Initial values for properties of the new TrapPreset (Optional) |
TrapPreset anyItem ()
Returns any TrapPreset in the collection.
number count ()
Displays the number of elements in the TrapPreset.
Array of TrapPreset everyItem ()
Returns every TrapPreset in the collection.
TrapPreset firstItem ()
Returns the first TrapPreset in the collection.
TrapPreset item (index:
varies)
Returns the TrapPreset with the specified index or name.
Parameter | Type | Description |
index | Long Integer String | The index or name. Can accept: Long Integer or String. |
TrapPreset itemByID (id:
number)
Returns the TrapPreset with the specified ID.
Parameter | Type | Description |
id | number | The ID. |
TrapPreset itemByName (name:
string)
Returns the TrapPreset with the specified name.
Parameter | Type | Description |
name | string | The name. |
Array of TrapPreset itemByRange (from:
varies, to:
varies)
Returns the TrapPresets within the specified range.
Parameter | Type | Description |
from | Long Integer String TrapPreset | The TrapPreset, index, or name at the beginning of the range. Can accept: TrapPreset, Long Integer or String. |
to | Long Integer String TrapPreset | The TrapPreset, index, or name at the end of the range. Can accept: TrapPreset, Long Integer or String. |
TrapPreset lastItem ()
Returns the last TrapPreset in the collection.
TrapPreset middleItem ()
Returns the middle TrapPreset in the collection.
TrapPreset nextItem (obj:
TrapPreset)
Returns the TrapPreset whose index follows the specified TrapPreset in the collection.
Parameter | Type | Description |
obj | TrapPreset | The TrapPreset whose index comes before the desired TrapPreset. |
TrapPreset previousItem (obj:
TrapPreset)
Returns the TrapPreset with the index previous to the specified index.
Parameter | Type | Description |
obj | TrapPreset | The index of the TrapPreset that follows the desired TrapPreset. |
string toSource ()
Generates a string which, if executed, will return the TrapPreset.
|