System::Collections::IListImplValueType::IndexOf method

IListImplValueType::IndexOf method

Gets index of first appearance of item in container.

virtual int System::Collections::IListImplValueType<T>::IndexOf(System::SharedPtr<System::Object> value) const override
ParameterTypeDescription
valueSystem::SharedPtr<System::Object>Item to look for.

ReturnValue

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

See Also