Share via


Windows Media Player 11 SDK AxWindowsMediaPlayer.CurrentPlaylistItemAvailable Event (VB and C#) 

Windows Media Player SDK banner art

Previous Next

AxWindowsMediaPlayer.CurrentPlaylistItemAvailable Event (VB and C#)

The CurrentPlaylistItemAvailable event occurs when the current playlist becomes available.

[Visual Basic]
Private Sub player_CurrentPlaylistItemAvailable(
  sender As Object,
  e As _WMPOCXEvents_CurrentPlaylistItemAvailableEvent
) Handles player.CurrentPlaylistItemAvailable

[C#]
private void player_CurrentPlaylistItemAvailable(
  object sender,
  _WMPOCXEvents_CurrentPlaylistItemAvailableEvent e
)

Event Data

The handler associated with this event is of type AxWMPLib._WMPOCXEvents_CurrentPlaylistItemAvailableEventHandler. This handler receives an argument of type AxWMPLib._WMPOCXEvents_CurrentPlaylistItemAvailableEvent, which contains the following property related to this event.

Property Description
bstrItemName System.String

The name of the current playlist item.

Remarks

The name of the current playlist can be used to retrieve the corresponding IWMPPlaylist interface from the IWMPPlaylistArray interface that is returned from the IWMPPlaylistCollection.getByName method.

Requirements

Version: Windows Media Player 9 Series or later

Namespace: AxWMPLib

Assembly: AxInterop.WMPLib.dll (automatically generated by Visual Studio)

See Also

Previous Next