BackgroundTasks

A collection of background task objects.

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

BackgroundTask [] (index:Number)

Returns the BackgroundTask with the specified index.

Parameter

Type

Description

index

Number

The index.

BackgroundTask anyItem ()

Returns any BackgroundTask in the collection.

Number count ()

Displays the number of elements in the BackgroundTask.

BackgroundTask everyItem ()

Returns every BackgroundTask in the collection.

BackgroundTask firstItem ()

Returns the first BackgroundTask in the collection.

BackgroundTask item (index:Varies LongInteger String)

Returns the BackgroundTask with the specified index or name.

Parameter

Type

Description

index

LongInteger

String

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

BackgroundTask itemByID (id:Number)

Returns the BackgroundTask with the specified ID.

Parameter

Type

Description

id

Number

The ID.

BackgroundTask itemByName (name:String)

Returns the BackgroundTask with the specified name.

Parameter

Type

Description

name

String

The name.

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

Returns the BackgroundTasks within the specified range.

Parameter

Type

Description

from

BackgroundTask

LongInteger

String

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

to

BackgroundTask

LongInteger

String

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

BackgroundTask lastItem ()

Returns the last BackgroundTask in the collection.

BackgroundTask middleItem ()

Returns the middle BackgroundTask in the collection.

BackgroundTask nextItem (obj:BackgroundTask)

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

Parameter

Type

Description

obj

BackgroundTask

The BackgroundTask whose index comes before the desired BackgroundTask.

BackgroundTask previousItem (obj:BackgroundTask)

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

Parameter

Type

Description

obj

BackgroundTask

The index of the BackgroundTask that follows the desired BackgroundTask.

String toSource ()

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

Object of

Application.backgroundTasks