Partager via


IsDurationValid (Windows Embedded CE 6.0)

1/6/2010

This property indicates whether the value of the Duration property is valid. This property is read-only.

Compatibility: Windows Media Player

Syntax

[ bDurationValid = ] MediaPlayer.IsDurationValid

Parameters

  • bDurationValid
    Boolean value specifying whether the Duration property is valid. If true, Duration is valid. There is no default value.

Remarks

During some broadcasts (typically live events) the duration of the presentation is unknown.

If the duration cannot be determined, the value of this property is false.

Requirements

Windows Embedded CE Windows CE 3.0 and later

See Also

Reference

Windows Media Player Properties
Duration (Windows Media Player)

Concepts

Compatibility Modes
Retrieving Presentation Information