Dela via


IMediaEnginePlaybackSource.CurrentItem Property

Definition

Gets the current playing 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

Property Value

The current playing MediaPlaybackItem.

Attributes

Applies to