Click or drag to resize

Event Class

Represents event calendar entity.
Inheritance Hierarchy
SystemObject
  Limilabs.Mail.PDIBasePdiEntity
    Limilabs.Mail.AppointmentsEvent

Namespace: Limilabs.Mail.Appointments
Assembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntax
[SerializableAttribute]
public class Event : BasePdiEntity

The Event type exposes the following members.

Constructors
 NameDescription
Public methodEvent Creates new event entity.
Top
Properties
 NameDescription
Public propertyAlarm Gets first alarm from the Alarms list or if there are no alarms for this event.
Public propertyAlarms List of alarms for this event.
Public propertyClass Gets or sets class of this event (public, private, confidential).
Public propertyDescription Gets or sets description of this event. In Microsoft Outlook, the DESCRIPTION corresponds to the descriptive text below "Appointment" form.
Public propertyDescriptionAltRep Gets or set ALTREP parameter of Description header. It specifies a URI that points to analternate representation for a textual property value (e.g "CID:part3.msg.970415T083000@example.com").
Public propertyEnd Gets or sets end time of this event ("DTEND").
Public propertyEndTimeZoneId Gets or sets time zone id of End time of this event. Consider using method instead setting this property.
Public propertyExceptionDates Gets a list of date/time exceptions for this event. (EXDATE).
Public propertyExceptionsTimeZoneId Gets or sets time zone id of ExceptionDates of this event. Consider using method instead setting this property.
Public propertyLocation Gets or sets location of this event.
Public propertyOrganizer Gets or sets the organizer of this event. Use SetOrganizer(Person) method to set organizer.
Public propertyParticipants Gets all participants of this event. Use AddParticipant(Participant) method to add new participant to this collection.
Public propertyPriority Gets or sets priority of this event.
Public propertyRecurrenceId Gets recurence id this instants represents. (RECURRENCE-ID).
Public propertyRecurringRules Gets all recurring rules for this event. Use AddRecurringRule method to add new participant to this collection.
Public propertySequence Gets or sets sequence of this event. You should increment this number for each event update. First update should have sequence set to 1.
Public propertyStamp Gets or sets time stamp of this event (Always converted to UTC format).
Public propertyStart Gets or sets start time of this event ("DTSTART").
Public propertyStartTimeZoneId Gets or sets time zone id of Start time of this event. Consider using method instead setting this property.
Public propertyStatus Gets or sets status of this event (tentative, confirmed, canceled).
Public propertySummary Gets or sets summery of this event. In Microsoft Outlook, the SUMMARY corresponds to the "Subject" entry in the "Appointment" form.
Public propertyUID Gets or sets the unique id of this event. For sending an UPDATE for an event the UID should match the original UID. Also Sequence should be set.
Public propertyXAltDescription Gets or sets the value of X-ALT-DESC. It is used by Outlook to specify HTML version of Description header.
Top
Methods
 NameDescription
Public methodAccept Sets Status to Accepted for participants with specified email. Removes all others from the event.
Public methodAddAlarm Creates new alarm and adds it to the Alarms collection of this event.
Public methodAddAlarm(Alarm) Adds alarm to the Alarms collection of this event.
Public methodAddCustomHeader Adds custom header to this entity.
(Inherited from BasePdiEntity)
Public methodAddParticipant Adds new participant to this event.
Public methodAddRecurringRule Creates new recurring rule and adds it to the RecurringRules collection of this event.
Public methodAddRecurringRule(RecurringRule) Adds recurring rule to the RecurringRules collection of this event.
Public methodAllDay Marks the event as an all day event. Time in Start and End properties will be ignored if this method is used.
Public methodCancel Creates canceled version of this event.
Public methodDecline Sets Status to Declined for participants with specified email. Removes all others from the event.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetHeader Gets header with specified key from this calendar entity.
(Inherited from BasePdiEntity)
Public methodGetHeaders Gets header with specified key from this calendar entity.
(Inherited from BasePdiEntity)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodInTimeZone Specifies time zone for this event. Sets StartTimeZoneId and EndTimeZoneId. Remember to add the specified timezone to TimeZones.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodRenderFinal Renders this entity as a string.
(Inherited from BasePdiEntity)
Public methodSetOrganizer Sets organizer for this event.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodUpdate Creates new version of this event that can be updated.
Top
Remarks
BEGIN:VEVENT ORGANIZER;CN="Alice":MAILTO:alice@mail.com ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN='Bob':MAILTO:bob@mail.com SUMMARY;LANGUAGE=en-US:First Meeting DTSTART:20100315T080000 DTEND:20100315T083000 UID:040000008200E00074 CLASS:PUBLIC DTSTAMP:20100317T141328Z STATUS:CONFIRMED LOCATION;LANGUAGE=en-US:Room 42 BEGIN:VALARM ACTION:DISPLAY DESCRIPTION:REMINDER TRIGGER;RELATED=START:-PT15M END:VALARM END:VEVENT
See Also