A version of this page is also available for
This property specifies the name of the clip to play. This property is read/write.
Compatibility: Windows Media Player
MediaPlayer.FileName [ = "sName" ]
String value specifying the name of the clip. The default is an empty string ("").
If the value of the AutoStart property is true, file playback begins automatically whenever you set the FileName property.
If you set both AutoStart and FileName at design time, the Windows Media Player control begins playing the file when it is loaded.
Setting this property is an asynchronous operation.
|Windows Embedded CE||Windows CE 3.0 and later|