IndexingIndexSections

A collection of index sections.

Instance Properties

Name Description Access
length number The number of objects in the collection. read-only

Methods

count(
)
 → number
item(
index)
 → IndexSection
itemByID(
id)
 → IndexSection
itemByName(
name)
 → IndexSection
itemByRange(
from, to)
 → IndexSection
nextItem(
obj)
 → IndexSection
toSource(
)
 → string
anyItem(
)
 → IndexSection
Returns any IndexSection in the collection.
count(
)
 → number
Displays the number of elements in the IndexSection.
everyItem(
)
 → IndexSection
Returns every IndexSection in the collection.
firstItem(
)
 → IndexSection
Returns the first IndexSection in the collection.
item(
index)
 → IndexSection
Returns the IndexSection with the specified index or name.
index The index or name. Can accept: Long Integer or String.
itemByID(
id)
 → IndexSection
Returns the IndexSection with the specified ID.
id number The ID.
itemByName(
name)
 → IndexSection
Returns the IndexSection with the specified name.
name string The name.
itemByRange(
from, to)
 → IndexSection
Returns the IndexSections within the specified range.
from The IndexSection, index, or name at the beginning of the range. Can accept: IndexSection, Long Integer or String.
to The IndexSection, index, or name at the end of the range. Can accept: IndexSection, Long Integer or String.
lastItem(
)
 → IndexSection
Returns the last IndexSection in the collection.
middleItem(
)
 → IndexSection
Returns the middle IndexSection in the collection.
nextItem(
obj)
 → IndexSection
Returns the IndexSection whose index follows the specified IndexSection in the collection.
obj IndexSection The IndexSection whose index comes before the desired IndexSection.
previousItem(
obj)
 → IndexSection
Returns the IndexSection with the index previous to the specified index.
obj IndexSection The index of the IndexSection that follows the desired IndexSection.
toSource(
)
 → string
Generates a string which, if executed, will return the IndexSection.