SequenceContainer.IndexOf Method

Overload List

Name Description
SequenceContainer.IndexOf (T) Return the index of the first occurrence of elem in list. Returns -1, if elem does not occur.
SequenceContainer.IndexOf (T, Int32) Returns the index of the first occurrence of element in sublist starting at position and ranging until the end of the Sequence. Returns -1 if elem does not occur.
If start is out of bounds, an exception will be thrown.
SequenceContainer.IndexOf (T, Int32, Int32) Returns the index of the first occurrence of element in sublist starting at start and ranging count elements. Returns -1, if no occurrence is found.
If start or count is out of bounds, an exception will be thrown.

See Also

Reference

SequenceContainer Generic Class
SequenceContainer Members
Microsoft.Modeling Namespace