共用方式為


InputLanguageEventArgs(CultureInfo, CultureInfo) 建構函式

定義

初始化衍生類別之新執行個體的基底類別值。

protected:
 InputLanguageEventArgs(System::Globalization::CultureInfo ^ newLanguageId, System::Globalization::CultureInfo ^ previousLanguageId);
protected InputLanguageEventArgs (System.Globalization.CultureInfo newLanguageId, System.Globalization.CultureInfo previousLanguageId);
new System.Windows.Input.InputLanguageEventArgs : System.Globalization.CultureInfo * System.Globalization.CultureInfo -> System.Windows.Input.InputLanguageEventArgs
Protected Sub New (newLanguageId As CultureInfo, previousLanguageId As CultureInfo)

參數

newLanguageId
CultureInfo

CultureInfo 物件,表示新的目前輸入語言。

previousLanguageId
CultureInfo

A CultureInfo 物件,表示上一個目前輸入語言。

備註

衍生自 InputLanguageEventArgs 的類別應該呼叫這個建構函式,以確保抽象基類所提供的值已正確初始化。

InputLanguageChangingEventArgsInputLanguageChangedEventArgs建構函式會自動呼叫這個基底建構函式。

適用於

另請參閱