GetEventEnumerator

Purpose

This object can be used to iterate through all of the events in HomeSeer, allowing you to work with the EventClass directly and make any changes or gather information that you need about events.

An EventClass has a number of properties that holds information about an event.  You can access these properties to get and set this information.

Parameters

None

Methods

Method: GetNext
Return value: EventClass
Type: object

Method: Restart
Return value: none
Type: n/a

Properties

Property: Finished
Return value: True when the enumerator reaches the last event.
Type: boolean

Property: CountChanged
Return value: True when the count of events changes during enumeration.
Type: boolean

 

Example

The following script shows how to reiterate though all events, get and display the event name.