IndexOf

IndexOf

Determines the index of the specified item in this collection.

Returns: the index of the specified item if found; otherwise, -1.

IndexOf(const DayType & item)
ParameterDescription
itemthe specified item to locate in this collection.