Returns the zero-based index of the first occurrence of a value in the collection or in a portion of it.
The zero-based index of the first occurrence of value within the entire collection, if found; otherwise, -1.
The IndexOf method enables you to determine where an DayCell is located within the collection. To determine if an DayCell is located within the collection before calling this method, use the Contains method.
DayCellCollection Class | Resco.Controls.OutlookControls Namespace