共用方式為


MediaPlaybackItemOpenedEventArgs 類別

定義

提供 MediaPlaybackList.ItemOpened 事件的資料。

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
繼承
Object Platform::Object IInspectable MediaPlaybackItemOpenedEventArgs
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

備註

處理 MediaPlaybackList.ItemOpened 事件,以取得這個類別的實例。

屬性

Item

取得已成功開啟的 MediaPlaybackItem

適用於