ReadOnlyListBaseTLastIndexOf Method (T) |
Finds the index of the last item in the list that is equal to item.
Namespace: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic virtual int LastIndexOf(
T item
)
public:
virtual int LastIndexOf(
T item
)
Parameters
- item
- Type: T
The item to search fror.
Return Value
Type:
Int32The index of the last item in the list that that is equal to
item. If no item is equal
to
item, -1 is returned.
RemarksThe default implementation of equality for type T is used in the search. This is the
equality defined by IComparable<T> or object.Equals.
See Also