Share via


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 物件,代表指定相依性物件目前的輸入範圍。

屬性

例外狀況

targetnull 時引發。

適用於

另請參閱