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
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# |
---|
public virtual IList<Occurrence> GetOccurrences<T>( IDateTime dt ) where T : IRecurringComponent |
Visual Basic |
---|
Public Overridable Function GetOccurrences(Of T As IRecurringComponent) ( _ dt As IDateTime _ ) As IList(Of Occurrence) |
Visual C++ |
---|
public: generic<typename T> where T : IRecurringComponent virtual 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
IGetOccurrencesTyped..::..GetOccurrences<(Of <<'(T>)>>)(IDateTime)IGetOccurrences..::..GetOccurrences(IDateTime)