EnhEvents.Count

[This is preliminary documentation and subject to change.]

The Count property indicates the number of events in the enhancement stream. This property is read-only.

Syntax

[ lCount = ] object.Count 
 

Parts

object
Object expression that resolves to an EnhEvents object.
lCount
Long that indicates the number of events.

Examples

The following example uses the count property to return the last event in the collection.

Set e = evs.Item(evs.Count - 1)
 

Note that because events are stored as a 0-based list, the index of the last item is Count – 1.

QuickInfo

  Windows NT: Unsupported.
  Windows: Requires Windows 98.
  Windows CE: Unsupported.
  Header: Declared in stream.idl.
  Import Library: Included as a resource in stream.dll.
  Unicode: Yes.

See Also

EnhEvents.Item