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

Namespace: Mindscape.SilverlightElements
Assembly: Mindscape.SilverlightElements (in Mindscape.SilverlightElements.dll) Version: 2.0.0.0 (2.0.0.0)

Syntax

C#
protected override bool Includes(
	DateTime startDate,
	DateTime day,
	bool limitOccurrences,
	Nullable<int> occurrenceCount
)
Visual Basic
Protected Overrides Function Includes ( _
	startDate As DateTime, _
	day As DateTime, _
	limitOccurrences As Boolean, _
	occurrenceCount As Nullable(Of Integer) _
) As Boolean
Visual C++
protected:
virtual bool Includes(
	DateTime startDate, 
	DateTime day, 
	bool limitOccurrences, 
	Nullable<int> occurrenceCount
) override

Parameters

startDate
Type: System..::..DateTime
The start date of recurrence.
day
Type: System..::..DateTime
The day for which to check whether the recurrence occurs.
limitOccurrences
Type: System..::..Boolean
Whether to limit the number of occurrences considered.
occurrenceCount
Type: System..::..Nullable<(Of <(<'Int32>)>)>
The maximum number of occurrences to consider, if limitOccurrences is true.

Return Value

true if the pattern occurs on day; otherwise false.

See Also