Edit

Share via


InputLanguageManager.ReportInputLanguageChanging Method

Definition

Report the initiation of a change of input language to the InputLanguageManager.

public:
 bool ReportInputLanguageChanging(System::Globalization::CultureInfo ^ newLanguageId, System::Globalization::CultureInfo ^ previousLanguageId);
public bool ReportInputLanguageChanging (System.Globalization.CultureInfo newLanguageId, System.Globalization.CultureInfo previousLanguageId);
member this.ReportInputLanguageChanging : System.Globalization.CultureInfo * System.Globalization.CultureInfo -> bool
Public Function ReportInputLanguageChanging (newLanguageId As CultureInfo, previousLanguageId As CultureInfo) As Boolean

Parameters

newLanguageId
CultureInfo

A CultureInfo object representing the new input language.

previousLanguageId
CultureInfo

A CultureInfo object representing the previous input language.

Returns

true to indicate that the reported change of input language was accepted; otherwise, false.

Exceptions

Raised when newLanguageId or previousLanguageId is null.

Applies to

See also