public int IndexOf (FieldInfo item);
public int IndexOf (object item);

Parámetros

itemThe object to locate in the collection.

Valor de retorno

int Returns the zero-based index of the first occurrence of the item. Returns -1 if the item is not found.

Descripción

Gets the first occurrence of an item in the FieldInfoCollection.