InputMethod.GetPreferredImeState(DependencyObject) InputMethod.GetPreferredImeState(DependencyObject) InputMethod.GetPreferredImeState(DependencyObject) InputMethod.GetPreferredImeState(DependencyObject) Method

定義

指定した依存関係オブジェクトの PreferredImeState 添付プロパティの値を返します。Returns the value of the PreferredImeState attached property for a specified dependency object.

public:
 static System::Windows::Input::InputMethodState GetPreferredImeState(System::Windows::DependencyObject ^ target);
[System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))]
public static System.Windows.Input.InputMethodState GetPreferredImeState (System.Windows.DependencyObject target);
static member GetPreferredImeState : System.Windows.DependencyObject -> System.Windows.Input.InputMethodState
Public Shared Function GetPreferredImeState (target As DependencyObject) As InputMethodState

パラメーター

target
DependencyObject DependencyObject DependencyObject DependencyObject

PreferredImeState の値を取得する対象の依存関係オブジェクト。The dependency object for which to retrieve the value of PreferredImeState.

戻り値

指定した依存関係オブジェクトの現在の PreferredImeState を指定している InputMethodState 列挙体のメンバー。A member of the InputMethodState enumeration specifying the current PreferredImeState for the specified dependency object.

例外

targetnull の場合に発生します。Raised when target is null.

適用対象

こちらもご覧ください