InputMethod.SetIsInputMethodSuspended(DependencyObject, Boolean) 方法

定義

設定所指定相依性物件的 IsInputMethodSuspended 附加屬性值。

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

參數

target
DependencyObject

要設定 IsInputMethodSuspended 附加屬性的相依性物件。

value
Boolean

IsInputMethodSuspended 附加屬性的新值。

例外狀況

targetnull 時引發。

適用於

另請參閱