Version: 2022.2
言語: 日本語
public int IndexOf (FieldInfo item);
public int IndexOf (object item);

パラメーター

item The 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 FieldInfoCollection.