IsDurationValid (Compact 7)

3/12/2014

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.

See Also

Reference

Windows Media Player Properties
Duration (Windows Media Player)