Version: 2019.4
public int IndexOf (Type item);
public int IndexOf (object item);

パラメーター

itemThe object to locate in the TypeCollection.

戻り値

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 TypeCollection.