共用方式為


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 時引發。

適用於

另請參閱