Compartir a través de


MediaPlayer.SetStreamSource(IRandomAccessStream) Método

Definición

Establece el origen multimedia en una secuencia.

Nota:

MediaPlayer.SetMediaSource puede modificarse o no estar disponible después de Windows 10. En su lugar, use 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)

Parámetros

stream
IRandomAccessStream

Secuencia de origen multimedia.

Atributos

Se aplica a