InputLanguageManager::ReportInputLanguageChanging Method (CultureInfo^, CultureInfo^)
.NET Framework (current version)
Report the initiation of a change of input language to the InputLanguageManager.
Assembly: PresentationCore (in PresentationCore.dll)
public: bool ReportInputLanguageChanging( CultureInfo^ newLanguageId, CultureInfo^ previousLanguageId )
Parameters
- newLanguageId
-
Type:
System.Globalization::CultureInfo^
A CultureInfo object representing the new input language.
- previousLanguageId
-
Type:
System.Globalization::CultureInfo^
A CultureInfo object representing the previous input language.
Return Value
Type: System::Booleantrue to indicate that the reported change of input language was accepted; otherwise, false.
| Exception | Condition |
|---|---|
| ArgumentNullException | Raised when newLanguageId or previousLanguageId is null. |
.NET Framework
Available since 3.0
Available since 3.0
Show: