InputMethod.SetIsInputMethodEnabled(DependencyObject, Boolean) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定附加屬性在指定相依物件上的值 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,會被提高。