IMediaEnginePlaybackSource.CurrentItem 属性

定义

获取当前播放的 MediaPlaybackItem

public:
 property MediaPlaybackItem ^ CurrentItem { MediaPlaybackItem ^ get(); };
MediaPlaybackItem CurrentItem();
/// [get: Windows.Foundation.Metadata.Deprecated("Use MediaPlayer instead of MediaEngine. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
MediaPlaybackItem CurrentItem();
public MediaPlaybackItem CurrentItem { get; }
public MediaPlaybackItem CurrentItem { [Windows.Foundation.Metadata.Deprecated("Use MediaPlayer instead of MediaEngine. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")] get; }
var mediaPlaybackItem = iMediaEnginePlaybackSource.currentItem;
Public ReadOnly Property CurrentItem As MediaPlaybackItem

属性值

当前播放的 MediaPlaybackItem

属性

适用于