Bewerken

Share via


InputMethod.SetPreferredImeConversionMode Method

Definition

Sets the value of the PreferredImeConversionMode attached property on the specified dependency object.

public:
 static void SetPreferredImeConversionMode(System::Windows::DependencyObject ^ target, System::Windows::Input::ImeConversionModeValues value);
public static void SetPreferredImeConversionMode (System.Windows.DependencyObject target, System.Windows.Input.ImeConversionModeValues value);
static member SetPreferredImeConversionMode : System.Windows.DependencyObject * System.Windows.Input.ImeConversionModeValues -> unit
Public Shared Sub SetPreferredImeConversionMode (target As DependencyObject, value As ImeConversionModeValues)

Parameters

target
DependencyObject

The dependency object on which to set the PreferredImeConversionMode attached property.

value
ImeConversionModeValues

A member of the ImeConversionModeValues enumeration representing the new value for the PreferredImeConversionMode attached property.

Exceptions

Raised when target is null.

Applies to

See also