spiegel-keyman/windows/docs/engine/api/IKeymanPackagesInstalled/IndexOf.md
2024-10-31 10:17:54 +07:00

17 lines
336 B
Markdown

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