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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.