共用方式為


IMediaEnginePlaybackSource.SetPlaybackSource(IMediaPlaybackSource) 方法

定義

設定媒體播放來源。

public:
 void SetPlaybackSource(IMediaPlaybackSource ^ source);
void SetPlaybackSource(IMediaPlaybackSource const& source);
/// [Windows.Foundation.Metadata.Deprecated("Use MediaPlayer instead of MediaEngine. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
void SetPlaybackSource(IMediaPlaybackSource const& source);
public void SetPlaybackSource(IMediaPlaybackSource source);
[Windows.Foundation.Metadata.Deprecated("Use MediaPlayer instead of MediaEngine. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
public void SetPlaybackSource(IMediaPlaybackSource source);
function setPlaybackSource(source)
Public Sub SetPlaybackSource (source As IMediaPlaybackSource)

參數

source
IMediaPlaybackSource

媒體播放來源。

屬性

適用於