Gets whether the pattern occurs on the specified day, assuming a given start date and maximum occurrence count.

Namespace:  Mindscape.WpfElements
Assembly:  Mindscape.WpfElements (in Mindscape.WpfElements.dll)
Version: 3.0.0.0 (3.0.0.0)

Syntax

C#
bool Includes(
	DateTime startDate,
	DateTime day,
	int occurrenceCount
)
Visual Basic (Declaration)
Function Includes ( _
	startDate As DateTime, _
	day As DateTime, _
	occurrenceCount As Integer _
) As Boolean

Parameters

startDate
Type: System..::.DateTime
The start date of recurrence.
day
Type: System..::.DateTime
The day for which to check whether the recurrence occurs.
occurrenceCount
Type: System..::.Int32
The maximum number of occurrences to consider.

Return Value

true if the pattern occurs on day; otherwise false.

See Also