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
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.