Class CalendarReader

CalendarReader class

Allows read the calendar with multi events to the Appointment object from a file or stream.

public class CalendarReader

Constructors

NameDescription
CalendarReader(Stream)Initializes a new instance of CalendarReader with source stream and default Appointment LoadOptions.
CalendarReader(string)Initializes a new instance of CalendarReader with source file and default Appointment LoadOptions.
CalendarReader(Stream, AppointmentLoadOptions)Initializes a new instance of CalendarReader with source stream and Appointment LoadOptions.
CalendarReader(string, AppointmentLoadOptions)Initializes a new instance of CalendarReader with source file and Appointment LoadOptions.

Properties

NameDescription
Count { get; }Gets the number of Vevent components.
Current { get; }Current read event.
IsMultiEvents { get; }Gets whether calendar contains multi events.
Method { get; }Gets the iCalendar object method type associated with the calendar object.
Version { get; }Gets the Version of calendar.

Methods

NameDescription
LoadAsMultiple()Loads a list of events from a calendar with multiple events.
NextEvent()Reads next Event from source and save it to the Current.

See Also