InputLanguageCollection.IndexOf Method (InputLanguage)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns the index of an InputLanguage in the InputLanguageCollection.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public int IndexOf(
	InputLanguage value
)

Parameters

value
Type: System.Windows.Forms.InputLanguage

The InputLanguage to locate.

Return Value

Type: System.Int32

The index of the InputLanguage in the InputLanguageCollection, if found; otherwise, -1.

.NET Framework
Available since 1.1
Return to top
Show: