Share via


InputLanguageManager.SetRestoreInputLanguage Metoda

Definice

Nastaví hodnotu RestoreInputLanguage vlastnosti závislosti na zadaném objektu závislosti.

public:
 static void SetRestoreInputLanguage(System::Windows::DependencyObject ^ target, bool restore);
public static void SetRestoreInputLanguage (System.Windows.DependencyObject target, bool restore);
static member SetRestoreInputLanguage : System.Windows.DependencyObject * bool -> unit
Public Shared Sub SetRestoreInputLanguage (target As DependencyObject, restore As Boolean)

Parametry

target
DependencyObject

Objekt závislosti, pro který chcete nastavit hodnotu RestoreInputLanguage.

restore
Boolean

Logická hodnota, na kterou chcete nastavit přidruženou RestoreInputLanguage vlastnost.

Výjimky

Vyvolá se, když target je nullhodnota .

Platí pro

Viz také