[This is preliminary documentation and subject to change.]
The FindTime property returns a reference to the event that starts at the specified time. This property is read-only.
Set oEvent = object.FindTime( dTime )
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.
The following example looks up an event in the EnhEvents collection by start time.
'Declare variables
Dim Ev As IEnhEvents
Dim e As IEnhEvent
Dim lHandle As Long
'create the collection
Set Ev = New EnhEvents
'add events to the collection
Ev.Add 15, "EventA"
Ev.Add 45, "EventB"
Ev.Add 25, "EventC"
'find EventB in the collection by specifying
'its start time.
Set e = Ev.FindTime(45)