Share via


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

Windows Media Player SDK banner art

Previous Next

AxWindowsMediaPlayer.StringCollectionChange Event (VB and C#)

The StringCollectionChange event occurs when a string collection changes.

[Visual Basic]
Private Sub player_StringCollectionChange(
  sender As Object,
  e As _WMPOCXEvents_StringCollectionChangeEvent
) Handles player.StringCollectionChange

[C#]
private void player_StringCollectionChange(
  object sender,
  _WMPOCXEvents_StringCollectionChangeEvent e
)

Event Data

The handler associated with this event is of type AxWMPLib._WMPOCXEvents_StringCollectionChangeEventHandler. This handler receives an argument of type AxWMPLib._WMPOCXEvents_StringCollectionChangeEvent, which contains the following properties related to this event.

Property Description
pdispStringCollection System.Object

The string collection item that changed. You can cast this to an IWMPStringCollection interface to access it.

lCollectionIndex System.Int32

The index of the string collection item that changed.

change WMPLib.WMPStringCollectionChangeEventType

An enumeration value indicating the type of change that occurred.

Requirements

Version: Windows Media Player 9 Series or later

Namespace: AxWMPLib

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

See Also

Previous Next