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