SequenceContainer.LastIndexOf Method

Overload List

Name Description
SequenceContainer.LastIndexOf (T) Return the index of the last occurrence of element in the Sequence. Returns -1, if there is no occurrence.
SequenceContainer.LastIndexOf (T, Int32) Return the index of the last occurrence of element in sublist starting at start and ranging until the end. Returns -1 if there is no occurrence.
If start is out of bounds, an exception will be thrown.
SequenceContainer.LastIndexOf (T, Int32, Int32) Return the index of the last occurrence of element in sublist starting at start and ranging count elements. Return -1, if no occurrence exists.
If start or count is out of bounds, an exception will be thrown.

See Also

Reference

SequenceContainer Generic Class
SequenceContainer Members
Microsoft.Modeling Namespace