Sequence.IndexOf Method

Overload List

Name Description
Sequence.IndexOf (T) Return the index of the first occurrence of elem in the Sequence, or -1, if elem does not occur in the Sequence.
Sequence.IndexOf (T, Int32) Returns the index of the first occurrence of the specified element in this Sequence. The search starts at a specified index. If there are no occurrences, the method returns -1. If the starting index is out of range, an exception will be thrown.
Sequence.IndexOf (T, Int32, Int32) Returns the index of the first occurrence of the specified element in this Sequence. The search starts at a specified index, and examines a specified number of elements. If the element is not found, the method returns -1. If the start index is out of range, or if the sum of the start index and the number of elements to examine is out of range, an exception will be thrown.

See Also

Reference

Sequence Generic Class
Sequence Members
Microsoft.Modeling Namespace