CalendarBlackoutDatesCollection.Contains Method (DateTime)

Returns a value that represents whether this collection contains the specified date.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls (in System.Windows.Controls.dll)

public bool Contains(
	DateTime date
)

Parameters

date
Type: System.DateTime
The date to search for.

Return Value

Type: System.Boolean
true if the collection contains the specified date; otherwise, false.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: