다음을 통해 공유


MediaPlaybackList.ItemOpened 이벤트

정의

재생 목록의 MediaPlaybackItem 이 성공적으로 열릴 때 발생합니다.

// Register
event_token ItemOpened(TypedEventHandler<MediaPlaybackList, MediaPlaybackItemOpenedEventArgs const&> const& handler) const;

// Revoke with event_token
void ItemOpened(event_token const* cookie) const;

// Revoke with event_revoker
MediaPlaybackList::ItemOpened_revoker ItemOpened(auto_revoke_t, TypedEventHandler<MediaPlaybackList, MediaPlaybackItemOpenedEventArgs const&> const& handler) const;
public event TypedEventHandler<MediaPlaybackList,MediaPlaybackItemOpenedEventArgs> ItemOpened;
function onItemOpened(eventArgs) { /* Your code */ }
mediaPlaybackList.addEventListener("itemopened", onItemOpened);
mediaPlaybackList.removeEventListener("itemopened", onItemOpened);
- or -
mediaPlaybackList.onitemopened = onItemOpened;
Public Custom Event ItemOpened As TypedEventHandler(Of MediaPlaybackList, MediaPlaybackItemOpenedEventArgs) 

이벤트 유형

적용 대상