CalendarBlackoutDatesCollection.ContainsAny(CalendarDateRange) Method

Definition

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

public:
 bool ContainsAny(System::Windows::Controls::CalendarDateRange ^ range);
public bool ContainsAny (System.Windows.Controls.CalendarDateRange range);
member this.ContainsAny : System.Windows.Controls.CalendarDateRange -> bool
Public Function ContainsAny (range As CalendarDateRange) As Boolean

Parameters

range
CalendarDateRange

The range of dates to search for.

Returns

true if any dates in the range are contained in the collection; otherwise, false.

Applies to