Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

MediaPlayer.Pause Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Pauses media playback.

public:
 virtual void Pause() = Pause;
void Pause();
public void Pause();
function pause()
Public Sub Pause ()

Remarks

Note that after you call Pause, the time represented by the Position property may not be precisely accurate. Apps that need a frame-accurate position value, such as media editors, should call MediaPlayer.StepForwardOneFrame immediately after calling Pause before reading the Position value.

Applies to


Feedback

Was this page helpful?