InputPanel.InputMethods Property
Gets a collection of the input methods available on a Pocket PC.
Namespace: Microsoft.WindowsCE.Forms
Assembly: Microsoft.WindowsCE.Forms (in microsoft.windowsce.forms.dll)
Syntax
'Declaration
Public ReadOnly Property InputMethods As InputMethodCollection
'Usage
Dim instance As InputPanel
Dim value As InputMethodCollection
value = instance.InputMethods
public InputMethodCollection InputMethods { get; }
public:
property InputMethodCollection^ InputMethods {
InputMethodCollection^ get ();
}
/** @property */
public InputMethodCollection get_InputMethods ()
public function get InputMethods () : InputMethodCollection
Property Value
An InputPanel.InputMethodCollection.
Remarks
This collection contains all the input methods installed on the device.
Example
The following code example populates a list box with the available input methods. This code example is part of a larger example provided for the InputPanel.InputMethodCollection class.
Private Sub GetInputMethods()
Me.ListBox1.Items.Clear()
' Get the InputMethods collection and
' add each method to the list box.
Dim im As InputMethod
For Each im In InputPanel1.InputMethods
Me.ListBox1.Items.Add(im.Name)
Next im
End Sub
// Get the InputMethods collection and
// add each method to the list box.
foreach (InputMethod im in ip.InputMethods)
{
this.listBox1.Items.Add(im.Name);
}
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .
Platforms
Windows CE, Windows Mobile for Pocket PC
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Version Information
.NET Compact Framework
Supported in: 2.0
See Also
Reference
InputPanel Class
InputPanel Members
Microsoft.WindowsCE.Forms Namespace