Share via


FileName (Windows CE 5.0)

Send Feedback

This property specifies the name of the clip to play. This property is read/write.

Compatibility: Windows Media Player

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 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.

Requirements

OS Versions: Windows CE 3.0 and later.

See Also

Windows Media Player Properties | Compatibility Modes | Playback Methods and Properties | Open | AutoStart

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.