Bewerken

Delen via


InputLanguageCollection.IndexOf(InputLanguage) Method

Definition

Returns the index of an InputLanguage in the InputLanguageCollection.

public:
 int IndexOf(System::Windows::Forms::InputLanguage ^ value);
public int IndexOf (System.Windows.Forms.InputLanguage value);
public int IndexOf (System.Windows.Forms.InputLanguage? value);
member this.IndexOf : System.Windows.Forms.InputLanguage -> int
Public Function IndexOf (value As InputLanguage) As Integer

Parameters

value
InputLanguage

The InputLanguage to locate.

Returns

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

Applies to

See also