CimClassInstance.Events (read-only property)

Gets the Class Event List Object.
Syntax: Set CimClassEventList = object.Events
Description: The CimClassInstance.Events property is read-only and returns a collection object that is used to add, modify and delete events for the class instance.

Example

Dim project As CimProject
Set project = CreateObject("CimProject")
project.OpenLocalProject "c:\cimpdemo\cimpdemo.gef"
Dim obj as CimObjectInstance
set obj = project.Objects.Item("TANK_PID")
Dim events as CimClassEventList
events = obj.Events