property Elements.Item (ID as Variant) as Element
Returns a specific Element of the Elements collection, giving its identifier.

TypeDescription
ID as Variant A Long, String or Numeric expression that defines the element's unique identifier.
Element An Element object being retrieved.
The Item property accesses the element giving its identifier. The Count property specifies the number of elements in the Elements collection. The ID property specifies the element's unique identfier.

The following VB sample enumerates the elements on the surface:

Dim e As Variant
For Each e In SwimLane1.Elements
    Debug.Print e.ID
Next