IsDurationValid

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/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