共用方式為


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 時引發。

適用於

另請參閱