다음을 통해 공유


Duration (Windows Media Player) (Windows CE 5.0)

Send Feedback

This property contains the clip's playing time in seconds. This property is read-only.

Compatibility: Windows Media Player, ActiveMovie

[dblDuration= ] MediaPlayer.Duration

Parameters

  • dblDuration
    Double value indicating the clip's playing time in seconds. There is no default value.

Remarks

The IsDurationValid property specifies whether the Duration property returns a valid value.

If the FileName property is not set, the Duration property returns zero.

ActiveMovie compatibility mode is only supported through Windows CE 4.1.

Requirements

OS Versions: Windows CE 3.0 and later.

See Also

Windows Media Player Properties | Compatibility Modes | Retrieving Presentation Information | Using Playlists | IsDurationValid

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.