Appointment

Appointment class

Represents a calendar to an e-mail.

This example demonstrates how to add a calendar to an E-Mail message.

MailMessage msg = new MailMessage();
 
//attendees for the event
MailAddressCollection attendees = new MailAddressCollection();
attendees.Add(new MailAddress("person1@domain.com"));
attendees.Add(new MailAddress("person2@domain.com"));
attendees.Add(new MailAddress("person3@domain.com"));
 
//create appointment
Appointment app = new Appointment("Room 112",new DateTime(2006,7,17,13,0,0),new DateTime(2006,7,17,14,0,0),new MailAddress("somebody@domain.com"), attendees );
cal.Summary = "Release Meetting";
cal.Description = "Discuss for the next release";
 
//add calendar to the message
msg.AddAlternateView(app.RequestApointment());
 
//send the email message
SmtpClient smtp= new SmtpClient("smtp.server.com", 25, "user", "password");
smtp.Send(msg);
Dim msg As MailMessage =  New MailMessage()
 
'attendees for the event
Dim attendees As MailAddressCollection =  New MailAddressCollection()
attendees.Add(New MailAddress("person1@domain.com"))
attendees.Add(New MailAddress("person2@domain.com"))
attendees.Add(New MailAddress("person3@domain.com"))
 
'create calendar
Dim cal As Appointment =  New Appointment("Room 112",New DateTime(2006,7,17,13,0,0),New DateTime(2006,7,17,14,0,0),New MailAddress("somebody@domain.com"),attendees)
cal.Summary = "Release Meetting"
cal.Description = "Discuss for the next release"
 
'add calendar to the message
msg.AddAlternateView(app.RequestApointment())

Constructors

NameDescription
Appointment (8 overloads)Initialize a new instance of the Appointment class.

Methods

NameDescription
CancelAppointment (2 overloads)Cancels the appointment.
get_ActionGets appointment action
get_AttachmentsGets the collection of attachments of appointment.
get_AttendeesGets the attendees.
get_ClassSpecifies the access classification for the appointment.
get_CreatedDateGets the date and time that calendar information was created.
get_DateTimeStampGets date/time that the instance of the iCalendar object was created..
get_DescriptionGets the description.
get_EndDateGets the end date.
get_EndTimeZoneEnd time zone
get_EndTimeZoneInfoEnd time zone
get_ExtendedPropertiesGets extended properties of an item.
get_FlagsGets appointment flags.
get_HtmlDescriptionGets html representation of description.
get_IdObject identifier
get_IsDescriptionHtmlGets value which indicates if description is in HTML format
get_LastModifiedDateGets the date and time that calendar information was last revised.
get_LocationGets the location.
get_MethodTypeGets the iCalendar object method type associated with the calendar object.
get_MicrosoftBusyStatusSpecifies the BUSY status of an appointment.
get_MicrosoftImportanceSpecifies the importance of an appointment.
get_MicrosoftIntendedStatusSpecifies the INTENDED status of an appointment.
get_OptionalAttendeesGets the optional attendees.
get_OrganizerGets the organizer.
get_RecurrenceGets the recurrence pattern.
get_RemindersContains collection of AppointmentReminder AppointmentReminder objects.
get_SequenceIdGets the sequence id.
get_StartDateGets the start date.
get_StartTimeZoneStart time zone
get_StartTimeZoneInfoStart time zone
get_StatusGets the overall status or confirmation for the object.
get_SummaryGets the summary.
get_TransparencySpecifies whether or not this appointment is intended to be visible in availability searches.
get_UniqueIdGets a string value that contains the GUID for the calendar item. In MS Exchange this is PidLidGlobalObjectId mapi property.
get_VersionGets the version of ICS/VCS file.
GetAppointmentHtmlGets the calendar HTML.
GetAppointmentText (2 overloads)Gets the calendar text.
GetMediaTypeValue
Load (5 overloads)Loads Appointment from the stream
RequestApointment (3 overloads)Requests the apointment.
ResetTimeZoneSet local time zone
Save (6 overloads)Saves appointment to the file with iCalendar format using te default save options
set_ActionSets appointment action
set_AttendeesSets the attendees.
set_ClassSpecifies the access classification for the appointment.
set_CreatedDateSets the date and time that calendar information was created.
set_DateTimeStampSets date/time that the instance of the iCalendar object was created..
set_DescriptionSets the description.
set_EndDateSets the end date.
set_EndTimeZoneEnd time zone
set_EndTimeZoneInfoEnd time zone
set_FlagsSets appointment flags.
set_HtmlDescriptionSets html representation of description.
set_IsDescriptionHtmlSets value which indicates if description is in HTML format
set_LastModifiedDateSets the date and time that calendar information was last revised.
set_LocationSets the location.
set_MethodTypeSets the iCalendar object method type associated with the calendar object.
set_MicrosoftBusyStatusSpecifies the BUSY status of an appointment.
set_MicrosoftImportanceSpecifies the importance of an appointment.
set_MicrosoftIntendedStatusSpecifies the INTENDED status of an appointment.
set_OrganizerSets the organizer.
set_RecurrenceSets the recurrence pattern.
set_SequenceIdGets the sequence id.
set_StartDateSets the start date.
set_StartTimeZoneStart time zone
set_StartTimeZoneInfoStart time zone
set_StatusSets the overall status or confirmation for the object.
set_SummarySets the summary.
set_TransparencySpecifies whether or not this appointment is intended to be visible in availability searches.
set_UniqueIdSets a string value that contains the GUID for the calendar item. In MS Exchange this is PidLidGlobalObjectId mapi property.
set_VersionGets the version of ICS/VCS file.
SetTimeZoneSet time zone
ToMailMessage (3 overloads)�onverts ICalendar item (.ics) to MIME (.eml) message.
ToMapiMessage�onverts ICalendar item (.ics) to MAPI (.msg) message.
UpdateAppointment (2 overloads)Updates the appointment.
Aspose::Email::Clients::Google::Commands::CalendarAPI::V3::Parsers::AppointmentReader
Aspose::Email::Clients::Google::Commands::CalendarAPI::V3::Parsers::AppointmentWriter
Aspose::Email::Storage::Zimbra::ZimbraCalendar
Aspose::Email::Tools::CalendarConverter
CalendarWriter
categories
exDates
extendedProperties
isLoaded
optionalAttendees
recurrenceSpecialCases
sequence
sequenceId