DDay.iCal Version 0.71

[This is preliminary documentation and is subject to change.]

Include this namespace if you'd like to serialize (load/save) your iCalendar.

Classes

  ClassDescription
DisallowedTypesAttribute
Lists the iCalendar types that are not allowed on the property.

Examples

For example, if "DATE" were a disallowed type on a iCalDateTime object, it would always be serialized as DATE-TIME.
ForceUTCAttribute
Forces a property of [!:iCalDateTime] type to serialize in UTC time.
iCalendarSerializer
A class that serializes iCalendars into the standard iCalendar (.ics) format.

Remarks

The default encoding for .ics files is UTF-8.

Examples

The following code demonstrates how to serialize an iCalendar to file:
CopyC#
iCalendar iCal = new iCalendar();

Event evt = iCal.Create<Event>();
evt.Start = DateTime.Now;
evt.Summary = "Event summary";

iCalendarSerializer serializer = new iCalendarSerializer(iCal);
serializer.Serialize(@"filename.ics");
NonstandardAttribute
Indicates that the property is a non-standard "X-" property.
SerializedAttribute
Indicates that the property should be serialized.
xCalSerializer
A class that serializes iCalendars into the xCal (.xcs) format.

Interfaces

  InterfaceDescription
IParameterSerializable
Indicates that the property can serialize parameters.
ISerializable
Indicates that the item can be serialized