Appointment
Contents
[
Hide
]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
| Name | Description |
|---|---|
| Appointment (8 overloads) | Initialize a new instance of the Appointment class. |
Methods
| Name | Description |
|---|---|
| CancelAppointment (2 overloads) | Cancels the appointment. |
| get_Action | Gets appointment action |
| get_Attachments | Gets the collection of attachments of appointment. |
| get_Attendees | Gets the attendees. |
| get_Class | Specifies the access classification for the appointment. |
| get_CreatedDate | Gets the date and time that calendar information was created. |
| get_DateTimeStamp | Gets date/time that the instance of the iCalendar object was created.. |
| get_Description | Gets the description. |
| get_EndDate | Gets the end date. |
| get_EndTimeZone | End time zone |
| get_EndTimeZoneInfo | End time zone |
| get_ExtendedProperties | Gets extended properties of an item. |
| get_Flags | Gets appointment flags. |
| get_HtmlDescription | Gets html representation of description. |
| get_Id | Object identifier |
| get_IsDescriptionHtml | Gets value which indicates if description is in HTML format |
| get_LastModifiedDate | Gets the date and time that calendar information was last revised. |
| get_Location | Gets the location. |
| get_MethodType | Gets the iCalendar object method type associated with the calendar object. |
| get_MicrosoftBusyStatus | Specifies the BUSY status of an appointment. |
| get_MicrosoftImportance | Specifies the importance of an appointment. |
| get_MicrosoftIntendedStatus | Specifies the INTENDED status of an appointment. |
| get_OptionalAttendees | Gets the optional attendees. |
| get_Organizer | Gets the organizer. |
| get_Recurrence | Gets the recurrence pattern. |
| get_Reminders | Contains collection of AppointmentReminder AppointmentReminder objects. |
| get_SequenceId | Gets the sequence id. |
| get_StartDate | Gets the start date. |
| get_StartTimeZone | Start time zone |
| get_StartTimeZoneInfo | Start time zone |
| get_Status | Gets the overall status or confirmation for the object. |
| get_Summary | Gets the summary. |
| get_Transparency | Specifies whether or not this appointment is intended to be visible in availability searches. |
| get_UniqueId | Gets a string value that contains the GUID for the calendar item. In MS Exchange this is PidLidGlobalObjectId mapi property. |
| get_Version | Gets the version of ICS/VCS file. |
| GetAppointmentHtml | Gets 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. |
| ResetTimeZone | Set local time zone |
| Save (6 overloads) | Saves appointment to the file with iCalendar format using te default save options |
| set_Action | Sets appointment action |
| set_Attendees | Sets the attendees. |
| set_Class | Specifies the access classification for the appointment. |
| set_CreatedDate | Sets the date and time that calendar information was created. |
| set_DateTimeStamp | Sets date/time that the instance of the iCalendar object was created.. |
| set_Description | Sets the description. |
| set_EndDate | Sets the end date. |
| set_EndTimeZone | End time zone |
| set_EndTimeZoneInfo | End time zone |
| set_Flags | Sets appointment flags. |
| set_HtmlDescription | Sets html representation of description. |
| set_IsDescriptionHtml | Sets value which indicates if description is in HTML format |
| set_LastModifiedDate | Sets the date and time that calendar information was last revised. |
| set_Location | Sets the location. |
| set_MethodType | Sets the iCalendar object method type associated with the calendar object. |
| set_MicrosoftBusyStatus | Specifies the BUSY status of an appointment. |
| set_MicrosoftImportance | Specifies the importance of an appointment. |
| set_MicrosoftIntendedStatus | Specifies the INTENDED status of an appointment. |
| set_Organizer | Sets the organizer. |
| set_Recurrence | Sets the recurrence pattern. |
| set_SequenceId | Gets the sequence id. |
| set_StartDate | Sets the start date. |
| set_StartTimeZone | Start time zone |
| set_StartTimeZoneInfo | Start time zone |
| set_Status | Sets the overall status or confirmation for the object. |
| set_Summary | Sets the summary. |
| set_Transparency | Specifies whether or not this appointment is intended to be visible in availability searches. |
| set_UniqueId | Sets a string value that contains the GUID for the calendar item. In MS Exchange this is PidLidGlobalObjectId mapi property. |
| set_Version | Gets the version of ICS/VCS file. |
| SetTimeZone | Set 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 |