System::Collections::IListImplRefType::IndexOf метод

IListImplRefType::IndexOf method

Получает индекс первого появления элемента в контейнере.

virtual int System::Collections::IListImplRefType<T>::IndexOf(System::SharedPtr<System::Object> value) const override
ПараметрТипОписание
valueSystem::SharedPtr<System::Object>Элемент для поиска.

ReturnValue

Index of first appearance of item in container or -1 if not found.

См. также