GetMarkerName

Description

Returns a String value specifying a marker name.

Syntax
object.GetMarkerName MarkerNum

ParameterDescription
MarkerNum A Long value specifying the marker number.

Remarks

To get the name 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.


If Nsoplay1.MarkerCount > 0 Then
  MsgBox "Marker 1 is named " + Nsplay1.GetMarkerName(1) + "."
End If

See Also

MarkerCount, CurrentMarker

Return to Player Control Reference.

© 1997 Microsoft Corporation. All rights reserved. Terms of Use.