A collection of links.
Methods
LinkanyItem ()
Returns any Link in the collection.
number count ()
Displays the number of elements in the Link.
Array of LinkeveryItem ()
Returns every Link in the collection.
LinkfirstItem ()
Returns the first Link in the collection.
Linkitem (index:
any)
Returns the Link with the specified index or name.
| Parameter | Type | Description |
|---|---|---|
| index | Long Integer String |
The index or name. Can accept: Long Integer or String. |
LinkitemByID (id:
number)
Returns the Link with the specified ID.
| Parameter | Type | Description |
|---|---|---|
| id | number | The ID. |
LinkitemByName (name:
string)
Returns the Link with the specified name.
| Parameter | Type | Description |
|---|---|---|
| name | string | The name. |
Array of LinkitemByRange (from:
any, to:
any)
Returns the Links within the specified range.
| Parameter | Type | Description |
|---|---|---|
| from | Link Long Integer String |
The Link, index, or name at the beginning of the range. Can accept: Link, Long Integer or String. |
| to | Link Long Integer String |
The Link, index, or name at the end of the range. Can accept: Link, Long Integer or String. |
LinklastItem ()
Returns the last Link in the collection.
LinkmiddleItem ()
Returns the middle Link in the collection.
LinknextItem (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. |
LinkpreviousItem (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.
Element of:
Document.links