InputLanguageChangedEventArgs Constructors
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.
Initializes a new instance of the InputLanguageChangedEventArgs class.
Overloads
InputLanguageChangedEventArgs(CultureInfo, Byte) |
Initializes a new instance of the InputLanguageChangedEventArgs class with the specified locale and character set. |
InputLanguageChangedEventArgs(InputLanguage, Byte) |
Initializes a new instance of the InputLanguageChangedEventArgs class with the specified input language and character set. |
InputLanguageChangedEventArgs(CultureInfo, Byte)
Initializes a new instance of the InputLanguageChangedEventArgs class with the specified locale and character set.
public:
InputLanguageChangedEventArgs(System::Globalization::CultureInfo ^ culture, System::Byte charSet);
public InputLanguageChangedEventArgs (System.Globalization.CultureInfo culture, byte charSet);
new System.Windows.Forms.InputLanguageChangedEventArgs : System.Globalization.CultureInfo * byte -> System.Windows.Forms.InputLanguageChangedEventArgs
Public Sub New (culture As CultureInfo, charSet As Byte)
Parameters
- culture
- CultureInfo
The locale of the input language.
- charSet
- Byte
The character set associated with the new input language.
Exceptions
.NET 5 and later: An InputLanguage cannot be retrieved for culture
.
See also
Applies to
InputLanguageChangedEventArgs(InputLanguage, Byte)
Initializes a new instance of the InputLanguageChangedEventArgs class with the specified input language and character set.
public:
InputLanguageChangedEventArgs(System::Windows::Forms::InputLanguage ^ inputLanguage, System::Byte charSet);
public InputLanguageChangedEventArgs (System.Windows.Forms.InputLanguage inputLanguage, byte charSet);
new System.Windows.Forms.InputLanguageChangedEventArgs : System.Windows.Forms.InputLanguage * byte -> System.Windows.Forms.InputLanguageChangedEventArgs
Public Sub New (inputLanguage As InputLanguage, charSet As Byte)
Parameters
- inputLanguage
- InputLanguage
The input language.
- charSet
- Byte
The character set associated with the new input language.
Remarks
The input language specifies a culture/keyboard layout pair.
See the CharSet property for a list of valid character sets.
See also
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈