Application.CurrentInputLanguage プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > Application.CurrentInputLanguage プロパティの意味・解説 

Application.CurrentInputLanguage プロパティ

現在のスレッドの現在の入力言語を取得または設定します。

名前空間: System.Windows.Forms
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)
構文構文

Public Shared Property CurrentInputLanguage
 As InputLanguage
Dim value As InputLanguage

value = Application.CurrentInputLanguage

Application.CurrentInputLanguage = value
public static InputLanguage CurrentInputLanguage
 { get; set; }
public:
static property InputLanguage^ CurrentInputLanguage {
    InputLanguage^ get ();
    void set (InputLanguage^ value);
}
/** @property */
public static InputLanguage get_CurrentInputLanguage
 ()

/** @property */
public static void set_CurrentInputLanguage
 (InputLanguage value)
public static function get
 CurrentInputLanguage () : InputLanguage

public static function set
 CurrentInputLanguage (value : InputLanguage)

プロパティ値
現在のスレッドの現在の入力言語を表す InputLanguage。

使用例使用例

このプロパティを取得し、プロパティ値をテキスト ボックスに表示するコード例を次に示します。この例は、textBox1 が既にフォームに配置されていることを前提としています。

Private Sub PrintCurrentInputLanguage()
   textBox1.Text = "The current input language is: "
 & _
      Application.CurrentInputLanguage.Culture.EnglishName
End Sub
  
private void PrintCurrentInputLanguage() {
    textBox1.Text = "The current input language is: " +
       Application.CurrentInputLanguage.Culture.EnglishName;
 }
   
private:
   void PrintCurrentInputLanguage()
   {
      textBox1->Text = "The current input language is: {0}",
         Application::CurrentInputLanguage->Culture->EnglishName;
   }
private void PrintCurrentInputLanguage()
{
    textBox1.set_Text("The current input language is: "
        + Application.get_CurrentInputLanguage().get_Culture().
        get_EnglishName());
} //PrintCurrentInputLanguage    
.NET Framework のセキュリティ.NET Framework のセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

Application.CurrentInputLanguage プロパティのお隣キーワード

   

英語⇒日本語
日本語⇒英語
   



Application.CurrentInputLanguage プロパティのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS