System::Collections::Generic::List::FindIndex طريقة

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 إذا لم يُعثر عليه.

انظر أيضًا