InputLanguageManager::CurrentInputLanguage Property
.NET Framework (current version)
Gets or sets the current input language.
Assembly: PresentationCore (in PresentationCore.dll)
public: [TypeConverterAttribute((CultureInfoIetfLanguageTagConverter^::typeid))] property CultureInfo^ CurrentInputLanguage { CultureInfo^ get(); void set(CultureInfo^ value); }
Property Value
Type: System.Globalization::CultureInfo^A CultureInfo object representing the currently selected input language. This property may not be set to null.
The default value is InvariantCulture.
| Exception | Condition |
|---|---|
| ArgumentNullException | Raised when an attempt is made to set this property to null. |
The following example demonstrates how to use an InputLanguageManager to get the current input language.
.NET Framework
Available since 3.0
Available since 3.0
Show: