Share via


EventList.Item Property

Visio Automation Reference

Returns an item from a collection. The Item property is the default property for all collections. Read-only.

Version Information
 Version Added:  Visio 2.0

Syntax

expression.Item(Index)

expression   A variable that represents an EventList collection.

Parameters

Name Required/Optional Data Type Description
Index Required Integer The index number of the object in its collection.

Return Value
Event

Remarks

When retrieving objects from a collection, you can omit Item from the expression because it is the default property for all collections. The following statement is equivalent to the syntax example given above:

Visual Basic for Applications
  objRet = object(index) 

See Also