Share via


InputMethod.Name Property

Gets the name of an input method.

Namespace:  Microsoft.WindowsCE.Forms
Assembly:  Microsoft.WindowsCE.Forms (in Microsoft.WindowsCE.Forms.dll)

Syntax

'Declaration
Public ReadOnly Property Name As String
'Usage
Dim instance As InputMethod 
Dim value As String 

value = instance.Name
public string Name { get; }
public:
property String^ Name {
    String^ get ();
}
public function get Name () : String

Property Value

Type: System.String
The name of the input method.

Remarks

You can only access this property value when you enumerate an InputPanel.InputMethodCollection.

Examples

The following code example populates a list box with the names of 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

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

InputMethod Class

InputMethod Members

Microsoft.WindowsCE.Forms Namespace