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 current file has the ability to seek to a specific time. This property is read-only.

Compatibility:Windows Media Player

Syntax

[ 
bSeek = ] MediaPlayer.CanSeek

Parameters

bSeek

Boolean value specifying whether the file can seek to a specific time. If true, the file can seek to a specific time. There is no default value.

Remarks

Seeking is accomplished by sliding the position indicator on the Windows Media Player control trackbar or by setting either the CurrentMarkeror CurrentPositionproperty.

If a media file has not been selected for the Player, by setting the FileNameproperty or calling the Openmethod, the value of this property will be false.

Requirements

Windows Embedded CE Windows CE 3.0 and later

See Also