Condividi tramite


MediaPlayer.SetStreamSource(IRandomAccessStream) Metodo

Definizione

Imposta l'origine multimediale su un flusso.

Nota

MediaPlayer.SetMediaSource può essere modificato o non disponibile dopo Windows 10. Usare invece MediaPlayer.Source .

public:
 virtual void SetStreamSource(IRandomAccessStream ^ stream) = SetStreamSource;
void SetStreamSource(IRandomAccessStream const& stream);
/// [Windows.Foundation.Metadata.Deprecated("Use Source instead of SetStreamSource.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.Foundation.UniversalApiContract")]
void SetStreamSource(IRandomAccessStream const& stream);
public void SetStreamSource(IRandomAccessStream stream);
[Windows.Foundation.Metadata.Deprecated("Use Source instead of SetStreamSource.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.Foundation.UniversalApiContract")]
public void SetStreamSource(IRandomAccessStream stream);
function setStreamSource(stream)
Public Sub SetStreamSource (stream As IRandomAccessStream)

Parametri

stream
IRandomAccessStream

Flusso di origine multimediale.

Attributi

Si applica a