CimClassInstance.Actions (read-only property)

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


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 actions as CimClassActionList
actions = obj.Actions