System::Collections::IList::IndexOf metode

IList::IndexOf method

Mendapatkan indeks pertama dari item yang ditentukan.

virtual int System::Collections::IList::IndexOf(SharedPtr<System::Object> item) const =0
ParameterTipeDeskripsi
itemSharedPtr<System::Object>Item yang dicari.

ReturnValue

Indeks dari kemunculan pertama item yang ditentukan, jika tidak -1.

Lihat Juga