Share via


InputPanel.InputMethodCollection.System.Collections.IList.IndexOf Method

For a description of this member, see IList.IndexOf.

Namespace: Microsoft.WindowsCE.Forms
Assembly: Microsoft.WindowsCE.Forms (in microsoft.windowsce.forms.dll)

Syntax

'Declaration
Private Function System.Collections.IList.IndexOf ( _
    inputMethod As Object _
) As Integer Implements IList.IndexOf
'Usage
Dim instance As InputMethodCollection
Dim inputMethod As Object
Dim returnValue As Integer

returnValue = CType(instance, IList).IndexOf(inputMethod)
int IList.IndexOf (
    Object inputMethod
)
private:
virtual int System.Collections.IList.IndexOf (
    Object^ inputMethod
) sealed = IList::IndexOf
J# supports the use of explicit interface implementations, but not the declaration of new ones.
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Parameters

  • inputMethod
    The input method to locate in the collection.

Return Value

The index of value if found in the IList; otherwise, -1.

Remarks

This member is an explicit interface member implementation. It can be used only when the InputPanel.InputMethodCollection instance is cast to the IList interface.

.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.InputMethodCollection Class
InputPanel.InputMethodCollection Members
Microsoft.WindowsCE.Forms Namespace