Udostępnij za pośrednictwem


MediaBindingEventArgs.SetStream(IRandomAccessStream, String) Method

Definition

Sets the media content to be bound to the MediaSource.

public:
 virtual void SetStream(IRandomAccessStream ^ stream, Platform::String ^ contentType) = SetStream;
void SetStream(IRandomAccessStream const& stream, winrt::hstring const& contentType);
public void SetStream(IRandomAccessStream stream, string contentType);
function setStream(stream, contentType)
Public Sub SetStream (stream As IRandomAccessStream, contentType As String)

Parameters

stream
IRandomAccessStream

A stream containing the media content.

contentType
String

Platform::String

winrt::hstring

A string specifying the content type of the media content.

Applies to