編輯

共用方式為


MediaPlayer.Stop Method

Definition

Stops media playback.

public:
 void Stop();
public void Stop ();
member this.Stop : unit -> unit
Public Sub Stop ()

Remarks

Calling Stop when a player has an associated Clock will throw an InvalidOperationException. Stop cannot be called while the timing engine drives media playback.

Applies to