InputLanguageManager.ReportInputLanguageChanging(CultureInfo, CultureInfo) Método

Definición

Notifica a InputLanguageManager que se ha iniciado un cambio de idioma de entrada.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

Parámetros

newLanguageId
CultureInfo

Objeto CultureInfo que representa el nuevo idioma de entrada.A CultureInfo object representing the new input language.

previousLanguageId
CultureInfo

Objeto CultureInfo que representa el idioma de entrada anterior.A CultureInfo object representing the previous input language.

Devoluciones

Boolean

true para indicar que se ha aceptado el cambio notificado de idioma de entrada; de lo contrario, false.true to indicate that the reported change of input language was accepted; otherwise, false.

Excepciones

Se genera cuando newLanguageId o previousLanguageId es null.Raised when newLanguageId or previousLanguageId is null.

Se aplica a

Consulte también