InputMethod.GetInputScope(DependencyObject) 方法    
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回指定的依赖对象的 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.InputScopePublic Shared Function GetInputScope (target As DependencyObject) As InputScope参数
- target
- DependencyObject
要为其检索输入范围的依赖对象。
返回
一个 InputScope 对象,表示指定依赖对象的当前输入范围。
- 属性
例外
当 target 为 null 时引发。