InputMethod.SetIsInputMethodEnabled(DependencyObject, Boolean) 方法

定义

设置指定依赖对象的附加属性的值 IsInputMethodEnabled

public:
 static void SetIsInputMethodEnabled(System::Windows::DependencyObject ^ target, bool value);
public static void SetIsInputMethodEnabled(System.Windows.DependencyObject target, bool value);
static member SetIsInputMethodEnabled : System.Windows.DependencyObject * bool -> unit
Public Shared Sub SetIsInputMethodEnabled (target As DependencyObject, value As Boolean)

参数

target
DependencyObject

要为其设置附加属性的 IsInputMethodEnabled 依赖对象。

value
Boolean

附加属性的新值 IsInputMethodEnabled

例外

当为 target引发。

适用于

另请参阅