CalendarBlackoutDatesCollection.

Contains(DateTime, DateTime) Method

Summary

Returns a value that represents whether this collection contains the specified range of dates.

Syntax

public bool Contains(DateTime start, DateTime end)

Parameters

Name Type Description
start DateTime The start of the date range.
end DateTime The end of the date range.

Return Value

Type Description
bool True if all dates in the range are contained in the collection; otherwise, false.