Compartir a través de


MediaBindingEventArgs.SetStream(IRandomAccessStream, String) Método

Definición

Establece el contenido multimedia que se va a enlazar a 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)

Parámetros

stream
IRandomAccessStream

Secuencia que contiene el contenido multimedia.

contentType
String

Platform::String

winrt::hstring

Cadena que especifica el tipo de contenido del contenido multimedia.

Se aplica a