Links

A collection of links.

Methods:

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

Property Listing

Property

Type

Access

Description

length

Number

readonly

The number of objects in the collection.

Method Listing

Link [] (index:Number)

Returns the Link with the specified index.

Parameter

Type

Description

index

Number

The index.

Link anyItem ()

Returns any Link in the collection.

Number count ()

Displays the number of elements in the Link.

Link everyItem ()

Returns every Link in the collection.

Link firstItem ()

Returns the first Link in the collection.

Link item (index:Varies LongInteger String)

Returns the Link with the specified index or name.

Parameter

Type

Description

index

LongInteger

String

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

Link itemByID (id:Number)

Returns the Link with the specified ID.

Parameter

Type

Description

id

Number

The ID.

Link itemByName (name:String)

Returns the Link with the specified name.

Parameter

Type

Description

name

String

The name.

Link itemByRange (from:Varies Link LongInteger String, to:Varies Link LongInteger String)

Returns the Links within the specified range.

Parameter

Type

Description

from

Link

LongInteger

String

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

to

Link

LongInteger

String

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

Link lastItem ()

Returns the last Link in the collection.

Link middleItem ()

Returns the middle Link in the collection.

Link nextItem (obj:Link)

Returns the Link whose index follows the specified Link in the collection.

Parameter

Type

Description

obj

Link

The Link whose index comes before the desired Link.

Link previousItem (obj:Link)

Returns the Link with the index previous to the specified index.

Parameter

Type

Description

obj

Link

The index of the Link that follows the desired Link.

String toSource ()

Generates a string which, if executed, will return the Link.

Object of

Document.links

Link.links