InputLanguageManager.ReportInputLanguageChanged 方法

定义

InputLanguageManager 报告输入语言更改的完成。

public:
 void ReportInputLanguageChanged(System::Globalization::CultureInfo ^ newLanguageId, System::Globalization::CultureInfo ^ previousLanguageId);
public void ReportInputLanguageChanged (System.Globalization.CultureInfo newLanguageId, System.Globalization.CultureInfo previousLanguageId);
member this.ReportInputLanguageChanged : System.Globalization.CultureInfo * System.Globalization.CultureInfo -> unit
Public Sub ReportInputLanguageChanged (newLanguageId As CultureInfo, previousLanguageId As CultureInfo)

参数

newLanguageId
CultureInfo

一个表示新输入语言的 CultureInfo 对象。

previousLanguageId
CultureInfo

一个表示原来的输入语言的 CultureInfo 对象。

例外

newLanguageIdpreviousLanguageIdnull 时引发。

适用于

另请参阅