ByDayCollection.Contains

ByDayCollection.Contains method

Returns a value indicating whether a specified day of week is present in the collection.

public bool Contains(DayOfWeek dayOfWeek)
ParameterTypeDescription
dayOfWeekDayOfWeekDay of weekDayOfWeek.

Return Value

True if the value parameter exists within this collection, otherwise false.

See Also