Upraviť

Zdieľať cez


InputLanguageChangedEventArgs Constructors

Definition

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