Duration Attribute

The Duration attribute is the playing duration of the item, in seconds.

Applies To

Remarks

This attribute is stored in both the library and the digital media file.

The Windows Media Format SDK constant for this attribute is g_wszWMDuration.

To determine whether you can change the value of this attribute, use the Media.isReadOnlyItem method.

Requirements

Version
Windows Media Player 9 Series or later

See also

Attribute Reference