Compartilhar via


InputPanel.InputMethods Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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 InputPanel..::..InputMethodCollection
    Get
'Usage
Dim instance As InputPanel
Dim value As InputPanel..::..InputMethodCollection

value = instance.InputMethods
public InputPanel..::..InputMethodCollection InputMethods { get; }
public:
property InputPanel..::..InputMethodCollection^ InputMethods {
    InputPanel..::..InputMethodCollection^ get ();
}
member InputMethods : InputPanel..::..InputMethodCollection

Property Value

Type: Microsoft.WindowsCE.Forms.InputPanel.InputMethodCollection
An object that represents a collection of input methods.

Remarks

This collection contains all the input methods installed on the device.

Examples

The following example populates a list box with the available input methods. This 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

Platforms

Windows CE, Windows Mobile for Pocket PC

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Compact Framework

Supported in: 3.5, 2.0

See Also

Reference

InputPanel Class

InputPanel Members

Microsoft.WindowsCE.Forms Namespace