Languages

A collection of languages.

Methods

LanguageanyItem ()
Returns any Language in the collection.

number count ()
Displays the number of elements in the Language.

Array of LanguageeveryItem ()
Returns every Language in the collection.

LanguagefirstItem ()
Returns the first Language in the collection.

Languageitem (index:
any)
Returns the Language with the specified index or name.

Parameter Type Description
index Long Integer
String
The index or name. Can accept: Long Integer or String.

LanguageitemByID (id:
number)
Returns the Language with the specified ID.

Parameter Type Description
id number The ID.

LanguageitemByName (name:
string)
Returns the Language with the specified name.

Parameter Type Description
name string The name.

Array of LanguageitemByRange (from:
any, to:
any)
Returns the Languages within the specified range.

Parameter Type Description
from Language
Long Integer
String
The Language, index, or name at the beginning of the range. Can accept: Language, Long Integer or String.
to Language
Long Integer
String
The Language, index, or name at the end of the range. Can accept: Language, Long Integer or String.

LanguagelastItem ()
Returns the last Language in the collection.

LanguagemiddleItem ()
Returns the middle Language in the collection.

LanguagenextItem (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.

LanguagepreviousItem (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.

Element of:

Document.languages

Leave a Comment

Previous post:

Next post: