Stop Method

Stops title playback.

Syntax

MediaPlayer.Stop

Parameters

This method has no parameters.

Return Value

This method does not return a value.

Remarks

If SendPlayStateChangeEvents is set to True, this command causes a PlayStateChange event to occur, if the file is not already stopped.

Calling this method does not change the current position, unless the file is not seekable. Non-seekable files are reset to position 0 when Stop is called. In addition, pressing the Stop button on the Player application resets the current position to zero.

This method causes the Media Player control to release any system resources it is using, such as the audio device.

To halt a play operation without changing the current position, use the Pause method.

See Also

FastForward, FastReverse, Pause, Play

© 1996-1998 Microsoft Corporation. All rights reserved.