A collection of index sections.
Methods
IndexSectionanyItem ()
Returns any IndexSection in the collection.
number count ()
Displays the number of elements in the IndexSection.
Array of IndexSectioneveryItem ()
Returns every IndexSection in the collection.
IndexSectionfirstItem ()
Returns the first IndexSection in the collection.
IndexSectionitem (index:
any)
Returns the IndexSection with the specified index or name.
| Parameter | Type | Description |
|---|---|---|
| index | Long Integer String |
The index or name. Can accept: Long Integer or String. |
IndexSectionitemByID (id:
number)
Returns the IndexSection with the specified ID.
| Parameter | Type | Description |
|---|---|---|
| id | number | The ID. |
IndexSectionitemByName (name:
string)
Returns the IndexSection with the specified name.
| Parameter | Type | Description |
|---|---|---|
| name | string | The name. |
Array of IndexSectionitemByRange (from:
any, to:
any)
Returns the IndexSections within the specified range.
| Parameter | Type | Description |
|---|---|---|
| from | IndexSection Long Integer String |
The IndexSection, index, or name at the beginning of the range. Can accept: IndexSection, Long Integer or String. |
| to | IndexSection Long Integer String |
The IndexSection, index, or name at the end of the range. Can accept: IndexSection, Long Integer or String. |
IndexSectionlastItem ()
Returns the last IndexSection in the collection.
IndexSectionmiddleItem ()
Returns the middle IndexSection in the collection.
IndexSectionnextItem (obj:
IndexSection)
Returns the IndexSection whose index follows the specified IndexSection in the collection.
| Parameter | Type | Description |
|---|---|---|
| obj | IndexSection | The IndexSection whose index comes before the desired IndexSection. |
IndexSectionpreviousItem (obj:
IndexSection)
Returns the IndexSection with the index previous to the specified index.
| Parameter | Type | Description |
|---|---|---|
| obj | IndexSection | The index of the IndexSection that follows the desired IndexSection. |
string toSource ()
Generates a string which, if executed, will return the IndexSection.
Element of:
Index.indexSections