InputLanguageManager.ReportInputLanguageChanging Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.