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

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

InputPanel.CurrentInputMethod プロパティ

Pocket PC入力方式取得または設定します

名前空間: Microsoft.WindowsCE.Forms
アセンブリ: Microsoft.WindowsCE.Forms (microsoft.windowsce.forms.dll 内)
構文構文

Dim instance As InputPanel
Dim value As InputMethod

value = instance.CurrentInputMethod

instance.CurrentInputMethod = value
public InputMethod CurrentInputMethod { get;
 set; }
/** @property */
public InputMethod get_CurrentInputMethod ()

/** @property */
public void set_CurrentInputMethod (InputMethod
 value)
public function get CurrentInputMethod
 () : InputMethod

public function set CurrentInputMethod
 (value : InputMethod)

プロパティ
InputMethod

解説解説
使用例使用例

このプロパティを、リスト ボックス選択され方式設定するコード例次に示します。このコード例は、InputPanel.InputMethodCollection クラストピック取り上げているコード例一部分です。

' This event handler iterates through the
' InputMethodCollection and sets the input method
' to the input method selected in the list box.
' When a member of the collection is the
' same the selected value in the list box, that
' method is set to the current input method.
Private Sub ListBox1_SelectedIndexChanged(sender
 As Object, e As EventArgs)
 Handles ListBox1.SelectedIndexChanged
   
   ' Get the selected input method from the list box.
   Dim strIM As String
   strIM = ListBox1.SelectedItem.ToString()
   
   ' Iterate through the input method collection.
   ' When there is a match with the input method
   ' selected in the list box, set the
   ' CurrentInputMethod property to the selected method.
   Dim im As InputMethod
   For Each im In  InputPanel1.InputMethods
      If im.Name = strIM Then
         ' Change the input method.
         InputPanel1.CurrentInputMethod = im
      End If
   Next im
End Sub
// Get the selected input method from the list box.
string strIM;
strIM = listBox1.SelectedItem.ToString();

// Iterate through the input method collection.
// When there is a match with the input method
// selected in the list box, set the
// CurrentInputMethod property to the selected method.
foreach (InputMethod im in ip.InputMethods)
{
 if (im.Name == strIM)
  // Change the input method.
  ip.CurrentInputMethod = im;
}
.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
InputPanel クラス
InputPanel メンバ
Microsoft.WindowsCE.Forms 名前空間


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

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

辞書ショートカット

すべての辞書の索引

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

   

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



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

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

©2025 GRAS Group, Inc.RSS