Partager via


Open

This method asynchronously opens the clip with the specified name.

Compatibility: Windows Media Player

MediaPlayer.Open( 
  sTitleName 
)

Parameters

  • sTitleName
    [in] String value representing the name of the clip to open, including its protocol, path, or HTTP URL.

Return Values

None.

Remarks

This method performs the same function as setting the FileName property, but it works asynchronously, allowing the calling application to continue performing tasks while the clip is being opened. Use the Cancel method to abort the Open method before the file is completely loaded.

Requirements

OS Versions: Windows CE 3.0 and later.

See Also

Windows Media Player Methods | Compatibility Modes | Playback Methods and Properties | Cancel | FileName

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.