System::Collections::IListImplValueType::IndexOf metodu

IListImplValueType::IndexOf method

Öğenin konteynerdeki ilk görünümünün indeksini alır.

virtual int System::Collections::IListImplValueType<T>::IndexOf(System::SharedPtr<System::Object> value) const override
ParameterTypeAçıklama
değerSystem::SharedPtr<System::Object>Aranacak öğe.

ReturnValue

Öğenin konteynerdeki ilk görünümünün indeksi veya bulunamazsa -1.

Ayrıca Bakınız