--- title: IKeymanKeyboardOptions::IndexOf Method --- ## Introduction The `IKeymanKeyboardOptions::IndexOf` method returns the zero-based index of the option in the array that has a name matching the `Name` parameter. If no option matches, then the method returns `-1`. ## Specification ``` clike long IndexOf(string Name) ```