DDay.iCal Version 0.71

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

The iCalendar type exposes the following members.

Constructors

  NameDescription
iCalendar
To load an existing an iCalendar object, use one of the provided LoadFromXXX methods.

Examples

For example, use the following code to load an iCalendar object from a URL:
CopyC#
iCalendar iCal = iCalendar.LoadFromUri(new Uri("http://somesite.com/calendar.ics"));

Methods

  NameDescription
AddChild
Adds an iCalObject-based component to the appropriate collection. Currently, the iCalendar component supports the following components:
(Overrides iCalObject..::.AddChild(iCalObject).)
AddParameterOverloaded.
AddPropertyOverloaded.
ClearEvaluation
Clears recurrence evaluations for recurring components.
CopyOverloaded.
Create<(Of <(T>)>)
Creates a typed object that is a direct child of the iCalendar itself. Generally, you would invoke this method to create an Event, Todo, Journal, TimeZone, FreeBusy, or other base component type.
CreateInitialize
Initializes an object that has just been created.
(Inherited from iCalObject.)
Dispose
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
EvaluateOverloaded.
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetOccurrencesOverloaded.
GetTimeZone
Retrieves the [!:DDay.iCal.Components.TimeZone] object for the specified TZID (Time Zone Identifier).
GetType
Gets the Type of the current instance.
(Inherited from Object.)
LoadFromFileOverloaded.
LoadFromStreamOverloaded.
LoadFromUriOverloaded.
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
MergeWith
Merges the current iCalendar with another iCalendar.
Note: Since each object is associated with one and only one iCalendar object, the iCal that is passed is automatically Disposed in the process, because all of its objects are re-assocated with the new iCalendar.
OnLoaded
Resolves each UID in the UniqueComponents list to a valid UID. When the UIDs are updated, each UniqueComponentList that contains the UniqueComponent will be updated as well.
(Overrides iCalObject..::.OnLoaded(EventArgs).)
RemoveChild
Removes an iCalObject-based component from all of the collections that this object may be contained in within the iCalendar.
(Overrides iCalObject..::.RemoveChild(iCalObject).)
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Children
A collection of iCalObjects that are children of the current object.
(Inherited from iCalObject.)
Events
A collection of Event components in the iCalendar.
FreeBusy
A collection of FreeBusy components in the iCalendar.
iCalendar
Returns the iCalendar that this iCalObject belongs to.
(Inherited from iCalObject.)
Journals
A collection of Journal components in the iCalendar.
Method
Name
Gets or sets the name of the iCalObject. For iCalendar components, this is the RFC 2445 name of the component.

Examples

  • Event - "VEVENT"
  • Todo - "VTODO"
  • TimeZone - "VTIMEZONE"
  • etc.
(Inherited from iCalObject.)
Parameters
Returns a list of parameters that are associated with the iCalendar object.
(Inherited from iCalObject.)
Parent
Returns the parent iCalObject that owns this one.
(Inherited from iCalObject.)
ProductID
Properties
Returns a list of properties that are associated with the iCalendar object.
(Inherited from iCalObject.)
RecurrenceEvaluationMode
RecurrenceRestriction
RecurringComponents
Scale
SerializedItems (Inherited from ComponentBase.)
TimeZones
A collection of [!:DDay.iCal.Components.TimeZone] components in the iCalendar.
Todos
A collection of Todo components in the iCalendar.
UniqueComponents
Version

Events

  NameDescription
Loaded (Inherited from iCalObject.)

See Also