Delen via


MediaPlaybackItemOpenedEventArgs Class

Definition

Provides data for the MediaPlaybackList.ItemOpened event.

public ref class MediaPlaybackItemOpenedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class MediaPlaybackItemOpenedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class MediaPlaybackItemOpenedEventArgs
Public NotInheritable Class MediaPlaybackItemOpenedEventArgs
Inheritance
Object Platform::Object IInspectable MediaPlaybackItemOpenedEventArgs
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

Get an instance of this class by handling the MediaPlaybackList.ItemOpened event.

Properties

Item

Gets the MediaPlaybackItem that was successfully opened.

Applies to