IsDurationValid

This property indicates whether the value of the Duration property is valid.

Compatibility: Windows Media Player

[ bDurationValid = ] MediaPlayer.IsDurationValid

Parameters

  • bDurationValid
    Boolean value specifying whether the Duration property is valid. If true, Duration is valid. This property is read-only with 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

OS Versions: Windows CE 3.0 and later.

See Also

Windows Media Player Properties | Compatibility Modes | Retrieving Presentation Information | Duration

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.