InputMethod.GetPreferredImeSentenceMode(DependencyObject) 方法

定义

返回指定的依赖对象的 PreferredImeSentenceMode 附加属性值。

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

参数

target
DependencyObject

要为其检索 PreferredImeSentenceMode 值的依赖对象。

返回

ImeSentenceModeValues 枚举的成员,该枚举为依赖的对象指定当前 PreferredImeSentenceMode

属性

例外

targetnull 时引发。

适用于

另请参阅