System::Collections::ObjectModel::Collection::IndexOf‑metod
Collection::IndexOf method
Söker efter element i samlingen.
int System::Collections::ObjectModel::Collection<T>::IndexOf(const T &item) const override
| Parameter | Typ | Beskrivning |
|---|---|---|
| objekt | const T& | Objekt att söka efter. |
ReturnValue
Index of first occurrence of specified item or -1 if not found.
Se även
- Class Collection
- Namespace System::Collections::ObjectModel
- Library Aspose.PDF for C++