A collection of preferences objects.
Go to Property Listing | Method Listing
[], anyItem, count, everyItem, firstItem, item, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource
|
Property |
Type |
Access |
Description |
|---|---|---|---|
|
readonly |
The number of objects in the collection. |
Preference [] (index:Number)
Returns the Preference with the specified index.
|
Parameter |
Type |
Description |
|---|---|---|
|
index |
The index. |
Preference anyItem ()
Returns any Preference in the collection.
Number count ()
Displays the number of elements in the Preference.
Preference everyItem ()
Returns every Preference in the collection.
Preference firstItem ()
Returns the first Preference in the collection.
Preference item (index:Varies LongInteger String)
Returns the Preference with the specified index or name.
|
Parameter |
Type |
Description |
|---|---|---|
|
index |
LongInteger |
The index or name. Can accept: Long Integer or String. |
Preference itemByName (name:String)
Returns the Preference with the specified name.
|
Parameter |
Type |
Description |
|---|---|---|
|
name |
The name. |
Preference itemByRange (from:Varies LongInteger Preference String, to:Varies LongInteger Preference String)
Returns the Preferences within the specified range.
|
Parameter |
Type |
Description |
|---|---|---|
|
from |
LongInteger |
The Preference, index, or name at the beginning of the range. Can accept: Preference, Long Integer or String. |
|
to |
LongInteger |
The Preference, index, or name at the end of the range. Can accept: Preference, Long Integer or String. |
Preference lastItem ()
Returns the last Preference in the collection.
Preference middleItem ()
Returns the middle Preference in the collection.
Preference nextItem (obj:Preference)
Returns the Preference whose index follows the specified Preference in the collection.
|
Parameter |
Type |
Description |
|---|---|---|
|
obj |
The Preference whose index comes before the desired Preference. |
Preference previousItem (obj:Preference)
Returns the Preference with the index previous to the specified index.
|
Parameter |
Type |
Description |
|---|---|---|
|
obj |
The index of the Preference that follows the desired Preference. |
String toSource ()
Generates a string which, if executed, will return the Preference.