Links
QuickLinks
Properties
Property | Type | Access | Description |
---|---|---|---|
length | number | readonly | The number of objects in the collection. |
Methods
Instances
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.
Array of Link everyItem ()
Returns every Link in the collection.
Link firstItem ()
Returns the first Link in the collection.
Link item (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. |
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. |
Array of Link itemByRange (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. |
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.
Element of
Document.links
Jongware, 20-Jun-2010 v3.0.3d | Contents :: Index |