Метод System::Collections::ObjectModel::ReadOnlyCollection::IndexOf

ReadOnlyCollection::IndexOf method

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

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

ReturnValue

Index of the first occurrence of specified item or negative value if not found.

См. также