System::Collections::ObjectModel::ReadOnlyCollection::IndexOf método

ReadOnlyCollection::IndexOf method

Busca un elemento específico en la colección.

virtual int System::Collections::ObjectModel::ReadOnlyCollection<T>::IndexOf(const T &item) const override
ParámetroTipoDescripción
elementoconst T&Elemento a buscar.

ReturnValue

Index of the first occurrence of specified item or negative value if not found.

Ver también