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
Cancel
FileName
Playback Methods and Properties
This method asynchronously opens the clip with the specified name.
Compatibility:Windows Media Player
Syntax
MediaPlayer.Open( sTitleName ) |
Parameters
- sTitleName
-
[in] Stringvalue representing the name of the clip to open, including its protocol, path, or HTTP URL.
Return Value
None.
Remarks
This method performs the same function as setting the FileNameproperty, but it works asynchronously, allowing the calling application to continue performing tasks while the clip is being opened.
Use the Cancelmethod to abort the Openmethod before the file is completely loaded.
Requirements
Windows Embedded CE | Windows CE 3.0 and later |
See Also
Reference
Windows Media Player MethodsCancel
FileName
Concepts
Compatibility ModesPlayback Methods and Properties