مشاركة عبر


MediaPlayer.Pause Method

Definition

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