InputLanguageEventArgs 类

定义

提供用于处理输入语言更改的事件的自变量的基类。Provides a base class for arguments for events dealing with a change in input language.

public ref class InputLanguageEventArgs abstract : EventArgs
public abstract class InputLanguageEventArgs : EventArgs
type InputLanguageEventArgs = class
    inherit EventArgs
Public MustInherit Class InputLanguageEventArgs
Inherits EventArgs
继承
InputLanguageEventArgs
派生

注解

此类提供InputLanguageChangedEventArgsInputLanguageChangingEventArgs类的基类, 它们InputLanguageChanged反过来分别提供和InputLanguageChanging路由事件的参数。This class provides the base for the InputLanguageChangedEventArgs and InputLanguageChangingEventArgs classes, which in turn provide arguments for the InputLanguageChanged and InputLanguageChanging routed events, respectively.

构造函数

InputLanguageEventArgs(CultureInfo, CultureInfo)

初始化派生类的新实例的基类值。Initializes base class values for a new instance of a deriving class.

属性

NewLanguage

获取一个表示新的当前输入语言的 CultureInfo 对象。Gets a CultureInfo object representing the new current input language.

PreviousLanguage

获取一个表示以前的当前输入语言的 CultureInfo 对象。Gets a CultureInfo object representing the previous current input language.

方法

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于

另请参阅