ImeContext ImeContext ImeContext ImeContext Class

定义

包含可与 IME API 直接交互的静态方法。Contains static methods that interact directly with the IME API.

此 API 支持产品基础结构,不能在代码中直接使用。

public ref class ImeContext abstract sealed
public static class ImeContext
type ImeContext = class
Public Class ImeContext
继承
ImeContextImeContextImeContextImeContext

方法

Disable(IntPtr) Disable(IntPtr) Disable(IntPtr) Disable(IntPtr)

禁用指定的 IME。Disables the specified IME.

Enable(IntPtr) Enable(IntPtr) Enable(IntPtr) Enable(IntPtr)

启用指定的 IME。Enables the specified IME.

GetImeMode(IntPtr) GetImeMode(IntPtr) GetImeMode(IntPtr) GetImeMode(IntPtr)

返回指定 IME 的 ImeModeReturns the ImeMode of the specified IME.

IsOpen(IntPtr) IsOpen(IntPtr) IsOpen(IntPtr) IsOpen(IntPtr)

返回一个值,该值指示指定的 IME 是否处于打开状态。Returns a value that indicates whether the specified IME is open.

SetImeStatus(ImeMode, IntPtr) SetImeStatus(ImeMode, IntPtr) SetImeStatus(ImeMode, IntPtr) SetImeStatus(ImeMode, IntPtr)

设置指定 IME 的状态。Sets the status of the specified IME.

SetOpenStatus(Boolean, IntPtr) SetOpenStatus(Boolean, IntPtr) SetOpenStatus(Boolean, IntPtr) SetOpenStatus(Boolean, IntPtr)

打开或关闭 IME 上下文。Opens or closes the IME context.

适用于