TrapPresets
A collection of trap presets.
Properties
| Name | Type |
Access | Description |
|---|
|
Number |
readonly |
The number of objects in the collection. |
Methods
Returns the TrapPreset with the specified index.
Creates a new TrapPreset.
withProperties?
Object
Initial values for properties of the new TrapPreset
Returns any TrapPreset in the collection.
Displays the number of elements in the TrapPreset.
Returns every TrapPreset in the collection.
Returns the first TrapPreset in the collection.
Returns the TrapPreset with the specified index or name.
index
LongInteger | String
The index or name. Can accept: Long Integer or String.
Returns the TrapPreset with the specified ID.
Returns the TrapPreset with the specified name.
Returns the TrapPresets within the specified range.
from
LongInteger | TrapPreset | String
The TrapPreset, index, or name at the beginning of the range. Can accept: TrapPreset, Long Integer or String.
to
LongInteger | TrapPreset | String
The TrapPreset, index, or name at the end of the range. Can accept: TrapPreset, Long Integer or String.
Returns the last TrapPreset in the collection.
Returns the middle TrapPreset in the collection.
Returns the TrapPreset whose index follows the specified TrapPreset in the collection.
obj
TrapPreset
The TrapPreset whose index comes before the desired TrapPreset.
Returns the TrapPreset with the index previous to the specified index.
obj
TrapPreset
The index of the TrapPreset that follows the desired TrapPreset.
Generates a string which, if executed, will return the TrapPreset.
Object of 2
Properties elsewhere that hold a TrapPresets.