InputMethod.GetInputScope(DependencyObject) 方法

定義

回傳指定相依物件所附屬性的 InputScope 值。

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

參數

target
DependencyObject

用來擷取輸入作用域的相依物件。

傳回

一個 InputScope 代表指定相依物件目前輸入作用域的物件。

屬性

例外狀況

當 為target,會被提高。

適用於

另請參閱