public int IndexOf (object item);

파라미터

itemThe object to locate in the collection.

반환

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

설명

Gets the first occurrence of an item in the MethodCollection.