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

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

InputLanguage.Handle プロパティ

入力言語ハンドル取得します

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

Dim instance As InputLanguage
Dim value As IntPtr

value = instance.Handle
public IntPtr Handle { get; }
public:
property IntPtr Handle {
    IntPtr get ();
}
/** @property */
public IntPtr get_Handle ()

プロパティ
入力言語ハンドルを表す IntPtr。

使用例使用例

現在の入力言語取得するコード例次に示します続いてHandle呼び出してハンドル取得しその結果テキスト ボックス出力します。この例は、textBox1インスタンス化されていることを前提にしています。

Public Sub MyHandle()
   ' Gets the current input language.
   Dim myCurrentLanguage As InputLanguage =
 InputLanguage.CurrentInputLanguage
       
   ' Gets a handle for the language  and prints the number.
   Dim myHandle As IntPtr = myCurrentLanguage.Handle
   textBox1.Text = "The handle number is: " &
 myHandle.ToString()
End Sub

public void MyHandle() {
   // Gets the current input language.
   InputLanguage myCurrentLanguage = InputLanguage.CurrentInputLanguage;

   // Gets a handle for the language  and prints the number.
   IntPtr myHandle = myCurrentLanguage.Handle;
   textBox1.Text = "The handle number is: " + myHandle.ToString();
}

public:
   void MyHandle()
   {
      // Gets the current input language.
      InputLanguage^ myCurrentLanguage = InputLanguage::CurrentInputLanguage;
      
      // Gets a handle for the language and prints the number.
      IntPtr myHandle = myCurrentLanguage->Handle;
      textBox1->Text = String::Format( "The handle number is: {0}",
 myHandle );
   }
public void MyHandle()
{
    // Gets the current input language.
    InputLanguage myCurrentLanguage =
        InputLanguage.get_CurrentInputLanguage();
    // Gets a handle for the language  and prints the number.
    IntPtr myHandle = myCurrentLanguage.get_Handle();
    textBox1.set_Text("The handle number is: " + myHandle.ToString());
} //MyHandle
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
InputLanguage クラス
InputLanguage メンバ
System.Windows.Forms 名前空間
InputLanguage.CurrentInputLanguage プロパティ


このページでは「.NET Framework クラス ライブラリ リファレンス」からInputLanguage.Handle プロパティを検索した結果を表示しています。
Weblioに収録されているすべての辞書からInputLanguage.Handle プロパティを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からInputLanguage.Handle プロパティ を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

InputLanguage.Handle プロパティのお隣キーワード
検索ランキング

   

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



InputLanguage.Handle プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS