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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.