Returns all occurrences of components of type T that start within the date range provided.
All components occurring between startTime and endTime
will be returned.
Namespace: iCalAssembly: ICalVCard (in ICalVCard.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public virtual IList<Occurrence> GetOccurrences<T>( IDateTime startTime, IDateTime endTime ) where T : IRecurringComponent |
Visual Basic |
---|
Public Overridable Function GetOccurrences(Of T As IRecurringComponent) ( _ startTime As IDateTime, _ endTime As IDateTime _ ) As IList(Of Occurrence) |
Visual C++ |
---|
public: generic<typename T> where T : IRecurringComponent virtual IList<Occurrence>^ GetOccurrences( IDateTime^ startTime, IDateTime^ endTime ) |
Parameters
- startTime
- Type: iCal..::..IDateTime
The starting date range
- endTime
- Type: iCal..::..IDateTime
The ending date range
Type Parameters
- T
Implements
IGetOccurrencesTyped..::..GetOccurrences<(Of <<'(T>)>>)(IDateTime, IDateTime)IGetOccurrences..::..GetOccurrences(IDateTime, IDateTime)