MediaBindingEventArgs.SetStream(IRandomAccessStream, String) 方法

定义

设置要绑定到 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)

参数

stream
IRandomAccessStream

包含媒体内容的流。

contentType
String

Platform::String

winrt::hstring

一个指定媒体内容的内容类型的字符串。

适用于