Evaluates this event to determine the dates and times for which the event occurs. This method only evaluates events which occur between FromDate and ToDate; therefore, if you require a list of events which occur outside of this range, you must specify a FromDate and ToDate which encapsulate the date(s) of interest.
Note Note For events with very complex recurrence rules, this method may be a bottleneck during processing time, especially when this method in called for a large number of events, in sequence, or for a very large time span.

Namespace: iCal
Assembly: ICalVCard (in ICalVCard.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public override IList<IPeriod> Evaluate(
	IDateTime referenceTime,
	DateTime periodStart,
	DateTime periodEnd,
	bool includeReferenceDateInResults
)
Visual Basic
Public Overrides Function Evaluate ( _
	referenceTime As IDateTime, _
	periodStart As DateTime, _
	periodEnd As DateTime, _
	includeReferenceDateInResults As Boolean _
) As IList(Of IPeriod)
Visual C++
public:
virtual IList<IPeriod^>^ Evaluate(
	IDateTime^ referenceTime, 
	DateTime periodStart, 
	DateTime periodEnd, 
	bool includeReferenceDateInResults
) override

Parameters

referenceTime
Type: iCal..::..IDateTime
periodStart
Type: System..::..DateTime
periodEnd
Type: System..::..DateTime
includeReferenceDateInResults
Type: System..::..Boolean

Return Value

Implements

IEvaluator..::..Evaluate(IDateTime, DateTime, DateTime, Boolean)

See Also