Item Method

Returns the indicated event member in the Procedures collection, Lines collection. and/or Sources collection.

Syntax

object.Item (lIndex)

Properties

The Item method syntax has these parts:

Part

Description

object

An object expression that evaluates to an object in the Applies To list.

lIndex

Long. An expression that specifies the position of a member of the Procedures collection. The index must be a number from 1 to the value of the Collection's Count property.

Return Value

Object. The dispatch pointer to the item object in the collection.

Remarks

If the specified member does not exist, Item returns EMPTY.

 

Example

Applies To