ReadOnlyListBaseTFindLastIndex Method (PredicateT) |
Finds the index of the last item in the list that satisfies the condition
defined by predicate. If no item matches the condition, -1 is returned.
Namespace: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic virtual int FindLastIndex(
Predicate<T> predicate
)
public:
virtual int FindLastIndex(
Predicate<T>^ predicate
)
Parameters
- predicate
- Type: SystemPredicateT
A delegate that defined the condition to check for.
Return Value
Type:
Int32The index of the last item that satisfies the condition
predicate. If no item satisfies that
condition, -1 is returned.
See Also