IndexSections

A collection of index sections.

Methods:

count, item, itemByName, itemByID, itemByRange, firstItem, lastItem, middleItem, previousItem, nextItem, anyItem, everyItem, toSource, []

Property Listing

Property

Type

Access

Description

length

Number

readonly

The number of objects in the collection.

Method Listing

IndexSection [] (index:Number)

Returns the IndexSection with the specified index.

Parameter

Type

Description

index

Number

The index.

IndexSection anyItem ()

Returns any IndexSection in the collection.

Number count ()

Displays the number of elements in the IndexSection.

IndexSection everyItem ()

Returns every IndexSection in the collection.

IndexSection firstItem ()

Returns the first IndexSection in the collection.

IndexSection item (index:Varies)

Returns the IndexSection with the specified index or name.

Parameter

Type

Description

index

Varies

The index or name. Can accept: Long Integer or String.

IndexSection itemByID (id:Number)

Returns the IndexSection with the specified ID.

Parameter

Type

Description

id

Number

The ID.

IndexSection itemByName (name:String)

Returns the IndexSection with the specified name.

Parameter

Type

Description

name

String

The name.

IndexSection itemByRange (from:Varies, to:Varies)

Returns the IndexSections within the specified range.

Parameter

Type

Description

from

Varies

The IndexSection, index, or name at the beginning of the range. Can accept: IndexSection, Long Integer or String.

to

Varies

The IndexSection, index, or name at the end of the range. Can accept: IndexSection, Long Integer or String.

IndexSection lastItem ()

Returns the last IndexSection in the collection.

IndexSection middleItem ()

Returns the middle IndexSection in the collection.

IndexSection nextItem (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.

IndexSection previousItem (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.

Object of

Index.indexSections