Returns a String containing the name of the marker, given its marker number.
Syntax
MediaPlayer.GetMarkerName( MarkerNum )
Parameters
MarkerNum
A Long value specifying the number of the marker name to return.
Remarks
This property returns a null string if the specified marker does not exist.
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 MediaPlayer1.MarkerCount > 0 Then
MsgBox "Marker 1 is named " + MediaPlayer.GetMarkerName(1) + "."
End If
See Also
© 1996-1998 Microsoft Corporation. All rights reserved.