Click or drag to resize

Appointment Class

Represents appointment calendar entity. To get all appointments, that an email contains, you can use Appointments collection. You can add appointment to an email using AddAppointment(Appointment) or AddAppointment(Appointment) methods.
Inheritance Hierarchy

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

The Appointment type exposes the following members.

Constructors
  NameDescription
Public methodAppointment
Creates new Appointment entity.
Top
Properties
  NameDescription
Public propertyEvent
Gets first event from the Events list or if there are no events.
Public propertyEvents
List of events in this appointment.
Public propertyMethod
Gets or sets iCalendar object method associated with the calendar object (e.g. Request, Cancel).
Public propertyProductId
Gets or sets the identifier for the product that created the iCalendar object.
Public propertyTimeZone
Gets first time zone from the TimeZones list or if there are no time zones defined.
Public propertyTimeZones
List of timezones defined in this appointment.
Public propertyVersion
Gets or sets version that is required in order to interpret the iCalendar object.
Top
Methods
  NameDescription
Public methodAccept
Creates new appointment with Status set to Accepted for users with specified email.
Public methodAddCustomHeader
Adds custom header to this entity.
(Inherited from BasePdiEntity.)
Public methodAddEvent
Adds new event to the Events collection.
Public methodAddEvent(Event)
Adds event to the Events collection.
Public methodAddTimeZone
Adds timezone to the TimeZones collection.
Public methodAddTimeZone(VTimeZone)
Adds timezone to the TimeZones collection.
Public methodCancel
Creates canceled version of this appointment.
Public methodCounter
Creates new version of this appointment that can be updated.
Public methodDecline
Creates new appointment with Status set to Declined for users with specified email.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves 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 methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRenderFinal
Renders this entity as a string.
(Inherited from BasePdiEntity.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdate
Creates new version of this appointment that can be updated.
Top
Remarks
BEGIN:VCALENDAR
METHOD:REQUEST
PRODID:Microsoft Exchange Server 2007
VERSION:2.0
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
END:VCALENDAR
See Also