IndexOf()

IListImplValueType::IndexOf(System::SharedPtr<System::Object>) const method

Gets index of first appearance of item in container.

virtual int System::Collections::IListImplValueType<T>::IndexOf(System::SharedPtr<System::Object> value) const override

Arguments

ParameterTypeDescription
valueSystem::SharedPtr<System::Object>Item to look for.

Return Value

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

See Also