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