MediaPlayer.SetStreamSource(IRandomAccessStream) Methode

Definition

Legt die Medienquelle auf einen Stream fest.

Hinweis

MediaPlayer.SetMediaSource kann geändert oder nicht mehr verfügbar sein, nachdem Windows 10. Verwenden Sie stattdessen 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)

Parameter

stream
IRandomAccessStream

Der Medienquelldatenstrom.

Attribute

Gilt für: