Windows Media Player SDK banner art
PreviousNext

Media.durationString

The durationString property retrieves a String value indicating the duration of the current media item in HH:MM:SS format.

Syntax

player.currentMedia.durationString

Possible Values

This property is a read-only String.

Remarks

If this property is used with a media item other than the one specified in Player.currentMedia, it will not contain a valid value. If the media item is less than an hour long, the HH: portion of the return value is omitted.

See Also

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.