CrossReferences
A collection of index cross references. (For cross references in text, use the 'cross reference source' and 'hyperlink' objects.)
Instance
Read Only
Number length
The number of objects in the collection.
Methods
CrossReference add( Topic referencedTopic, CrossReferenceType crossReferenceType, String customTypeString, Object withProperties )
Creates a new cross reference.
Parameters
Type Name Description 
Number count()
Displays the number of elements in the CrossReference.
CrossReference item( Mixed index )
Returns the CrossReference with the specified index or name.
Parameters
Type Name Description 
CrossReference itemByName( String name )
Returns the CrossReference with the specified name.
Parameters
Type Name Description 
CrossReference itemByID( Number id )
Returns the CrossReference with the specified ID.
Parameters
Type Name Description 
CrossReference itemByRange( Mixed from, Mixed to )
Returns the CrossReferences within the specified range.
Parameters
Type Name Description 
CrossReference firstItem()
Returns the first CrossReference in the collection.
CrossReference lastItem()
Returns the last CrossReference in the collection.
CrossReference middleItem()
Returns the middle CrossReference in the collection.
CrossReference previousItem( CrossReference obj )
Returns the CrossReference with the index previous to the specified index.
Parameters
Type Name Description 
CrossReference nextItem( CrossReference obj )
Returns the CrossReference whose index follows the specified CrossReference in the collection.
Parameters
Type Name Description 
CrossReference anyItem()
Returns any CrossReference in the collection.
CrossReference everyItem()
Returns every CrossReference in the collection.
String toSource()
Generates a string which, if executed, will return the CrossReference.
CrossReference []( Number index )
Returns the CrossReference with the specified index.
Parameters
Type Name Description