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 specifies the name of the clip to play. This property is read/write.
Compatibility:Windows Media Player
Syntax
MediaPlayer.FileName [ = " sName" ] |
Parameters
- sName
-
String value specifying the name of the clip. The default is an empty string ("").
Remarks
If the value of the AutoStartproperty is true, file playback begins automatically whenever you set the FileNameproperty.
If you set both AutoStartand FileNameat design time, the Windows Media Player control begins playing the file when it is loaded.
Setting this property is an asynchronous operation.
Requirements
Windows Embedded CE | Windows CE 3.0 and later |