Condividi tramite


MediaSource.CreateFromStreamReference Metodo

Definizione

public:
 static MediaSource ^ CreateFromStreamReference(IRandomAccessStreamReference ^ stream, Platform::String ^ contentType);
 static MediaSource CreateFromStreamReference(IRandomAccessStreamReference const& stream, winrt::hstring const& contentType);
public static MediaSource CreateFromStreamReference(IRandomAccessStreamReference stream, string contentType);
function createFromStreamReference(stream, contentType)
Public Shared Function CreateFromStreamReference (stream As IRandomAccessStreamReference, contentType As String) As MediaSource

Parametri

stream
IRandomAccessStreamReference

Riferimento al flusso da cui viene creato MediaSource .

contentType
String

Platform::String

winrt::hstring

Tipo MIME del contenuto del flusso.

Restituisce

Nuova origine multimediale.

Si applica a