[This is preliminary documentation and subject to change.]
The Handle property is a unique identifier for the event. This property is read-only.
[ lhandle = ] object.Handle
EnhEvents.FindHandle searches the EnhEvents collection to return the event with the specified handle.
The following example uses EnhEvent.Handle to save a handle to an event in the enhancement stream, and then uses EnhEvents.FindHandle to recall the event.
'Declare variables
Dim Ev As IEnhEvents
Dim e As IEnhEvent
Dim lHandle As Long
'create the collection
Set Ev = New EnhEvents
'add an event to the collection
Ev.Add 15, "EventA"
'save a handle to EventA,
'(which is currently the last-added event)
lHandle = Ev.LastAdd.Handle
...
'recall EventA from the collection using the previously-saved handle
Set e = Ev.FindHandle(lHandle)
Windows NT: Unsupported.
Windows: Requires Windows 98.
Windows CE: Unsupported.
Header: Declared in stream.idl.
Import Library: Included as a resource in stream.dll.
Unicode: Yes.