Returns all occurrences of components of type T that start on the date provided. All components starting between 12:00:00AM and 11:59:59 PM will be returned.
Note Note This will first Evaluate() the date range required in order to determine the occurrences for the date provided, and then return the occurrences.

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

Syntax

C#
IList<Occurrence> GetOccurrences<T>(
	IDateTime dt
)
where T : IRecurringComponent
Visual Basic
Function GetOccurrences(Of T As IRecurringComponent) ( _
	dt As IDateTime _
) As IList(Of Occurrence)
Visual C++
generic<typename T>
where T : IRecurringComponent
IList<Occurrence>^ GetOccurrences(
	IDateTime^ dt
)

Parameters

dt
Type: iCal..::..IDateTime
The date for which to return occurrences.

Type Parameters

T

Return Value

A list of Periods representing the occurrences of this object.

Implements

IGetOccurrences..::..GetOccurrences(IDateTime)

See Also