Share via


MediaElement.SetMediaStreamSource(IMediaSource) Method

Definition

Sets the Source of the MediaElement to the specified MediaStreamSource.

public:
 virtual void SetMediaStreamSource(IMediaSource ^ source) = SetMediaStreamSource;
void SetMediaStreamSource(IMediaSource const& source);
public void SetMediaStreamSource(IMediaSource source);
function setMediaStreamSource(source)
Public Sub SetMediaStreamSource (source As IMediaSource)

Parameters

source
IMediaSource

The media source.

Applies to