Gets whether the pattern occurs on the specified day, assuming a given start date.

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

Syntax

C#
public bool Includes(
	DateTime startDate,
	DateTime day
)
Visual Basic (Declaration)
Public Function Includes ( _
	startDate As DateTime, _
	day As DateTime _
) 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.

Return Value

true if the pattern occurs on day; otherwise false.

Implements

IRecurrencePattern..::.Includes(DateTime, DateTime)

See Also