System::Collections::Generic::IList::IndexOf method
IList::IndexOf method
コンテナ内で項目が最初に現れるインデックスを取得します。
virtual int System::Collections::Generic::IList<T>::IndexOf(const T &item) const =0
| パラメーター | 型 | 説明 |
|---|---|---|
| 項目 | const T& | 検索対象の項目。 |
ReturnValue
コンテナ内で項目が最初に現れるインデックス(見つからない場合は -1)。
参照
- Class IList
- Namespace System::Collections::Generic
- Library Aspose.Page for C++