Collection.IList.IndexOf(Object) Método
Definição
Determina o índice de um item específico no objeto Collection.Determines the index of a specific item in the Collection object.
virtual int IListIndexOf(System::Object ^ value) = System::Collections::IList::IndexOf;
int IList.IndexOf (object value);
abstract member IListIndexOf : obj -> int
override this.IListIndexOf : obj -> int
Function IListIndexOf (value As Object) As Integer Implements IList.IndexOf
Parâmetros
- value
- Object
O Object a ser localizado no objeto Collection.The Object to locate in the Collection object.
Retornos
O índice de value se encontrado na coleção; caso contrário, -1.The index of value if found in the collection; otherwise, -1.
Comentários
Esse método determina o índice de um item específico no Collection objeto.This method determines the index of a specific item in the Collection object.