Sequence.LastIndexOf Method

Overload List

Name Description
Sequence.LastIndexOf (T) Return the index of the last occurrence of element in list, or -1, if the element does not occur.
Sequence.LastIndexOf (T, Int32) Return the index of the last occurrence of element in the sublist starting at position and ranging until the end of the sequence. The method returns -1, if there is no occurrence. If position is out of bounds, an exception will be thrown.
Sequence.LastIndexOf (T, Int32, Int32) Return the index of the last occurrence of element in sublist starting at position and ranging count elements. Returns -1, if there is no occurrence. If position, or count is out of bounds, an exception will be thrown.

See Also

Reference

Sequence Generic Class
Sequence Members
Microsoft.Modeling Namespace