Windows Media Player SDK banner art
PreviousNext

Player6.Duration

This property retrieves the length of the clip, in seconds.

Syntax

MediaPlayer.Duration

Possible Values

This property is a read-only Double.

Remarks

The IsDurationValid property specifies whether the Duration property returns a valid value. If the FileName property is not set, the Duration property returns zero.

See Also

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.