Share via


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

Windows Media Player SDK banner art

Previous Next

AxWindowsMediaPlayer.AudioLanguageChange Event (VB and C#)

The AudioLanguageChange event occurs when the current audio language changes.

[Visual Basic]
Private Sub player_AudioLanguageChange(
  sender As Object,
  e As _WMPOCXEvents_AudioLanguageChangeEvent
) Handles player.AudioLanguageChange

[C#]
private void player_AudioLanguageChange(
  object sender,
  _WMPOCXEvents_AudioLanguageChangeEvent e
)

Event Data

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

Property Description
langID System.Int32

Uniquely identifies a particular language dialect, called a locale.

Remarks

A locale identifier (LCID) uniquely identifies a particular language dialect, called a locale.

Requirements

Version: Windows Media Player 9 Series or later

Namespace: AxWMPLib

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

See Also

Previous Next