InputPanel.CurrentInputMethod プロパティ
アセンブリ: Microsoft.WindowsCE.Forms (microsoft.windowsce.forms.dll 内)

Public Property CurrentInputMethod As InputMethod
Dim instance As InputPanel Dim value As InputMethod value = instance.CurrentInputMethod instance.CurrentInputMethod = value
public InputMethod CurrentInputMethod { get; set; }
public: property InputMethod^ CurrentInputMethod { InputMethod^ get (); void set (InputMethod^ value); }
/** @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; }


Windows CE, Windows Mobile for Pocket PC
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からInputPanel.CurrentInputMethod プロパティを検索する場合は、下記のリンクをクリックしてください。

- InputPanel.CurrentInputMethod プロパティのページへのリンク