This class works similar to the CalendarPropertyCompositeList class, but works with components instead of properties. It consolidates components of a given name into a list, and allows you to work with directly against the components themselves. This preserves the notion that our components are still stored directly within the calendar object, but gives us the flexibility to work with multiple components through a single (composite) list.

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

Syntax

C#
public class CalendarComponentCompositeList<T> : KeyedList<ICalendarComponent, string>, 
	IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable
where T : ICalendarComponent
Visual Basic
Public Class CalendarComponentCompositeList(Of T As ICalendarComponent) _
	Inherits KeyedList(Of ICalendarComponent, String) _
	Implements IList(Of T), ICollection(Of T),  _
	IEnumerable(Of T), IEnumerable
Visual C++
generic<typename T>
where T : ICalendarComponent
public ref class CalendarComponentCompositeList : public KeyedList<ICalendarComponent^, String^>, 
	IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable

Type Parameters

T

Inheritance Hierarchy

System..::..Object
  iCal..::..KeyedList<(Of <(<'ICalendarComponent, String>)>)>
    iCal..::..CalendarComponentCompositeList<(Of <(<'T>)>)>

See Also