System::Collections::ObjectModel::Collection::IndexOf метод

Collection::IndexOf method

Ищет элемент в коллекции.

int System::Collections::ObjectModel::Collection<T>::IndexOf(const T &item) const override
ПараметрТипОписание
элементconst T&Элемент для поиска.

ReturnValue

Index of first occurrence of specified item or -1 if not found.

См. также