Languages

A collection of languages.

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

Language [] (index:Number)

Returns the Language with the specified index.

Parameter

Type

Description

index

Number

The index.

Language anyItem ()

Returns any Language in the collection.

Number count ()

Displays the number of elements in the Language.

Language everyItem ()

Returns every Language in the collection.

Language firstItem ()

Returns the first Language in the collection.

Language item (index:Varies LongInteger String)

Returns the Language with the specified index or name.

Parameter

Type

Description

index

LongInteger

String

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

Language itemByID (id:Number)

Returns the Language with the specified ID.

Parameter

Type

Description

id

Number

The ID.

Language itemByName (name:String)

Returns the Language with the specified name.

Parameter

Type

Description

name

String

The name.

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

Returns the Languages within the specified range.

Parameter

Type

Description

from

Language

LongInteger

String

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

to

Language

LongInteger

String

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

Language lastItem ()

Returns the last Language in the collection.

Language middleItem ()

Returns the middle Language in the collection.

Language nextItem (obj:Language)

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

Parameter

Type

Description

obj

Language

The Language whose index comes before the desired Language.

Language previousItem (obj:Language)

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

Parameter

Type

Description

obj

Language

The index of the Language that follows the desired Language.

String toSource ()

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

Object of

Document.languages