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 method suspends playback at the current position in the clip.
Compatibility:Windows Media Player, ActiveMovie
Syntax
MediaPlayer.Pause( ) |
Return Value
None.
Remarks
This method performs the same action as clicking the pause button on the control bar.
If the value of the SendPlayStateChangeEventsproperty is true and the file is playing, calling this method causes a PlayStateChangeevent to occur.
When a file is paused, the client control does not give up any system resources, such as the audio device.
This method also resets the Rateproperty to the default value of 1.0.
ActiveMovie compatibility mode is only supported through Windows CE .NET 4.1.
Requirements
Windows Embedded CE | Windows CE 3.0 and later |