Share via


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

Windows Media Player SDK banner art

Previous Next

AxWindowsMediaPlayer.PlaylistCollectionPlaylistAdded Event (VB and C#)

The PlaylistCollectionPlaylistAdded event occurs when a playlist is added to the playlist collection.

[Visual Basic]
Private Sub player_PlaylistCollectionPlaylistAdded(
  sender As Object,
  e As _WMPOCXEvents_PlaylistCollectionPlaylistAddedEvent
) Handles player.PlaylistCollectionPlaylistAdded

[C#]
private void player_PlaylistCollectionPlaylistAdded(
  object sender,
  _WMPOCXEvents_PlaylistCollectionPlaylistAddedEvent e
)

Event Data

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

Property Description
bstrPlaylistName System.String

Specifies the name of the playlist that was added.

Remarks

The name of the playlist that was added can be used to retrieve the corresponding playlist by using 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