CalendarBlackoutDatesCollection.ContainsAny(CalendarDateRange) CalendarBlackoutDatesCollection.ContainsAny(CalendarDateRange) CalendarBlackoutDatesCollection.ContainsAny(CalendarDateRange) CalendarBlackoutDatesCollection.ContainsAny(CalendarDateRange) Method

定義

指定した日付範囲内の日付が 1 つでもこのコレクションに含まれるかどうかを示す値を返します。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

パラメーター

range
CalendarDateRange CalendarDateRange CalendarDateRange CalendarDateRange

検索する日付範囲。The range of dates to search for.

戻り値

指定した範囲内の日付が 1 つでもコレクションに含まれる場合は true。それ以外の場合は falsetrue if any dates in the range are contained in the collection; otherwise, false.

適用対象