ModelItemCollection.IList.IndexOf(Object) Method

Definition

Determina l'indice di un elemento specifico nell'oggetto IList.Determines the index of a specific item in the IList.

 virtual int System.Collections.IList.IndexOf(System::Object ^ value) = System::Collections::IList::IndexOf;
int IList.IndexOf (object value);
abstract member System.Collections.IList.IndexOf : obj -> int
override this.System.Collections.IList.IndexOf : obj -> int
Function IndexOf (value As Object) As Integer Implements IList.IndexOf

Parameters

value
Object

L'oggetto Object da individuare nell'oggetto IList.The Object to locate in the IList.

Returns

Int32

Indice di value, se presente nell'elenco; in caso contrario, -1.The index of value if found in the list; otherwise, -1.

Implements

Applies to