Bagikan melalui


MediaBindingEventArgs.SetStream(IRandomAccessStream, String) Metode

Definisi

Menyetel isi media yang akan terikat ke 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)

Parameter

stream
IRandomAccessStream

Aliran yang berisi konten media.

contentType
String

Platform::String

winrt::hstring

String yang menentukan tipe konten konten media.

Berlaku untuk