Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This property indicates whether the value of the Durationproperty 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