Returns a Double value specifying the presentation time of a given marker.
Syntax
MediaPlayer.GetMarkerTime( MarkerNum )
Parameters
MarkerNum
A Long value specifying the number of the marker to return.
Remarks
To get the time of a marker, set MarkerNum to the number of the marker you want.
If a file has no markers, MarkerCount is zero. If a file has markers, MarkerCount is greater than zero. Marker numbers start at 1.
Note Not all .asf files have markers. Use MarkerCount to find out how many markers are in the current file.
Example
If MediaPlayer.MarkerCount > 0) Then
MsgBox "Marker 1 is at" + Str$(MediaPlayer.GetMarkerTime(1)) _
+ " seconds."
End If
© 1996-1998 Microsoft Corporation. All rights reserved.