Partager via


MediaPlayer.SetStreamSource(IRandomAccessStream) Méthode

Définition

Définit la source multimédia sur un flux.

Notes

MediaPlayer.SetMediaSource peut être modifié ou indisponible après Windows 10. Utilisez MediaPlayer.Source à la place.

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)

Paramètres

stream
IRandomAccessStream

Flux de source multimédia.

Attributs

S’applique à