CimEventList.Delete (method)

Deletes the Event.
Syntax: object.Delete EventID
Parameters:
EventID As String - Name of the Event to be deleted from the event list.
Description: CimEventList.Delete deletes a Cimevent from the project.

Examples

Dim project As CimProject
Set project = CreateObject("CimProject")
project.OpenLocalProject "c:\cimpdemo\cimpdemo.gef"
Dim eventList as CimEventList
set eventList = project.Events
eventList.Delete "EXISTING_EVENT_ID"