GefObjectEvents.Remove (method)

Removes the specified item from the collection.
Syntax: object.Remove Index
Parameters:
Optional Index As long - The index number of the item to remove.
Description: The Index argument can range from 0 to Count-1.

Example:

Sub GefObjectEvents_Remove()
    
    Dim oCimObj As GefObject
    Dim oCimObjEvnts As GefObjectEvents
    Dim oCimObjEvnt As GefObjectEvent
    
    Set oCimObj = CimGetObject
    Set oCimObjEvnts = oCimObj.Events
    
    oCimObjEvnts.Remove 0
    
End Sub