InputLanguageCollection.IndexOf Method (InputLanguage)

 

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: