Share via


MediaElement.SetPlaybackSource(IMediaPlaybackSource) Method

Definition

Sets the source of the MediaElement to the specified media playback source.

public:
 virtual void SetPlaybackSource(IMediaPlaybackSource ^ source) = SetPlaybackSource;
void SetPlaybackSource(IMediaPlaybackSource const& source);
public void SetPlaybackSource(IMediaPlaybackSource source);
function setPlaybackSource(source)
Public Sub SetPlaybackSource (source As IMediaPlaybackSource)

Parameters

source
IMediaPlaybackSource

The media playback source.

Applies to