CimEventActionList.Delete (method)

Deletes the EventAction.
Syntax: object.Delete EventID, ActionID
Parameters:
EventID As String - Event ID to delete
ActionID As String - Action ID to delete
Description: CimEventActionList.Delete deletes a CimEventAction from the project.

Examples

Dim project As CimProject
Set project = CreateObject("CimProject")
project.OpenLocalProject "c:\cimpdemo\cimpdemo.gef"
Dim eventActionList as CimEventActionList
set eventActionList = project.EventActions
eventActionList.Delete "EXISTING_EVENT_ID", "EXISTING_ACTION_ID"
eventActionList.Delete "EXISTING_EVENT_ID", ""
eventActionList.Delete "", "EXISTING_ACTION_ID"