System::Collections::Generic::List::FindIndex method

List::FindIndex(int, int, System::Predicate<T>) method

特定の述語を満たす要素を検索します。

int System::Collections::Generic::List<T>::FindIndex(int startIndex, int count, System::Predicate<T> match)
パラメーター説明
startIndexint検索を開始するインデックス。
countint検索対象の要素数。
matchSystem::Predicate<T>Predicate を使用して要素をチェックします。

ReturnValue

一致する要素のインデックス、見つからない場合は -1。

参照

List::FindIndex(int, System::Predicate<T>) method

特定の述語を満たす要素を検索します。

int System::Collections::Generic::List<T>::FindIndex(int startIndex, System::Predicate<T> match)
パラメーター説明
startIndexint検索を開始するインデックス。
matchSystem::Predicate<T>Predicate を使用して要素をチェックします。

ReturnValue

一致する要素のインデックス、見つからない場合は -1。

参照

List::FindIndex(System::Predicate<T>) method

特定の述語を満たす要素を検索します。

int System::Collections::Generic::List<T>::FindIndex(System::Predicate<T> match)
パラメーター説明
matchSystem::Predicate<T>Predicate を使用して要素をチェックします。

ReturnValue

一致する要素のインデックス、見つからない場合は -1。

参照