GetItem method: Collection class

Syntax

GetItem(index)

Description

Use this method to return the specified element from the collection.

Parameters

Parameter Description

index

Specifies the sequence number of the element to be retrieved as an integer.

Returns

A Collection object, a Compound object, or a Primitive object as defined by the CollectionElementType property.