System::Collections::ObjectModel::Collection::IndexOf method
Collection::IndexOf method
コレクション内の要素を検索します。
int System::Collections::ObjectModel::Collection<T>::IndexOf(const T &item) const override
| パラメーター | 型 | 説明 |
|---|---|---|
| 項目 | const T& | 検索対象の項目。 |
ReturnValue
指定された項目の最初の出現位置のインデックス、見つからない場合は -1。
参照
- Class Collection
- Namespace System::Collections::ObjectModel
- Library Aspose.Page for C++