Appointment Class |
Namespace: Aspose.Email.Calendar
The Appointment type exposes the following members.
Name | Description | |
---|---|---|
![]() | Appointment(String, DateTime, DateTime, MailAddress, MailAddressCollection) |
Initialize a new instance of the Appointment class.
|
![]() | Appointment(String, String, String, DateTime, DateTime, MailAddress, MailAddressCollection) |
Initialize a new instance of the Appointment class.
|
![]() | Appointment(String, String, String, DateTime, DateTime, MailAddress, MailAddressCollection, RecurrencePattern) |
Initialize a new instance of the Appointment class.
|
![]() | Appointment(String, String, String, DateTime, DateTime, MailAddress, MailAddressCollection, String) |
Initialize a new instance of the Appointment class.
|
![]() | Appointment(String, String, String, DateTime, DateTime, MailAddress, MailAddressCollection, String, RecurrencePattern) |
Initialize a new instance of the Appointment class.
|
Name | Description | |
---|---|---|
![]() | Attachments |
Gets the collection of attachments of appointment.
|
![]() | Attendees |
Gets or sets the attendees.
|
![]() | CreatedDate |
Gets or sets the date and time that calendar information was created.
|
![]() | Description |
Gets or sets the description.
|
![]() | EndDate |
Gets or sets the end date.
|
![]() | EndTimeZone |
End time zone
|
![]() | Flags |
Gets or sets appointment flags.
|
![]() | IsDescriptionHtml |
Gets or sets value which indicates if description is in HTML format
|
![]() | LastModifiedDate |
Gets or sets the date and time that calendar information was last revised.
|
![]() | Location |
Gets or sets the location.
|
![]() | MethodType |
Gets or sets the iCalendar object method type associated
with the calendar object.
|
![]() | MicrosoftBusyStatus |
Specifies the BUSY status of an appointment.
|
![]() | MicrosoftIntendedStatus |
Specifies the INTENDED status of an appointment.
|
![]() | OptionalAttendees |
Gets the optional attendees.
|
![]() | Organizer |
Gets or sets the organizer.
|
![]() | Recurrence |
Gets or sets the recurrence pattern.
|
![]() | Reminders |
Contains collection of AppointmentReminder AppointmentReminder objects.
|
![]() | SequenceId |
Gets the sequence id.
|
![]() | StartDate |
Gets or sets the start date.
|
![]() | StartTimeZone |
Start time zone
|
![]() | Status |
Gets or sets the overall status or confirmation for the object.
|
![]() | Summary |
Gets or sets the summary.
|
![]() | Transparency |
Specifies whether or not this appointment is intended to be visible in availability searches.
|
![]() | UniqueId |
Gets or sets a string value that contains the GUID for the calendar item.
In MS Exchange this is PidLidGlobalObjectId mapi property.
|
Name | Description | |
---|---|---|
![]() | CancelAppointment |
Cancels the appointment.
|
![]() | CancelAppointment(Int32) |
Cancels the appointment.
|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetAppointmentHtml |
Gets the calendar HTML.
|
![]() | GetAppointmentText |
Gets the calendar text.
|
![]() | GetAppointmentText(AppointmentFormattingOptions) |
Gets the calendar text.
|
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() ![]() | Load(Stream) |
Loads Appointment from the stream
|
![]() ![]() | Load(String) |
Loads Appointment from the file.
Supported file formats: iCalendar
|
![]() ![]() | Load(Stream, AppointmentLoadOptions) |
Loads Appointment from the stream
|
![]() ![]() | Load(Stream, Boolean) |
Loads Appointment from the stream
|
![]() ![]() | Load(String, AppointmentLoadOptions) |
Loads Appointment from the file.
Supported file formats: iCalendar
A file path.Represents appointment load optionsAppointmentLoadOptions. Return ValueType:A read Appointment. |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | RequestApointment |
Requests the apointment.
|
![]() | RequestApointment(Int32) |
Requests the apointment.
|
![]() | ResetTimeZone |
Set local time zone
|
![]() | Save(Stream) |
Saves appointment to the file with iCalendar format using te default save options
|
![]() | Save(String) |
Saves appointment to the file with iCalendar format using te default save options
|
![]() | Save(Stream, AppointmentSaveFormat) |
Saves appointment to the stream with specified format using te default save options
|
![]() | Save(Stream, AppointmentSaveOptions) |
Saves appointment to the stream with specified save options
|
![]() | Save(String, AppointmentSaveFormat) |
Saves appointment to the file with specified format using te default save options
|
![]() | Save(String, AppointmentSaveOptions) |
Saves appointment to the file with specified save options
|
![]() | SetTimeZone |
Set time zone
|
![]() | ToString | (Inherited from Object.) |
![]() | UpdateAppointment |
Updates the appointment.
|
![]() | UpdateAppointment(Int32) |
Updates the appointment.
|
This example demonstrates how to add a calendar to an E-Mail message.
[C#]
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);
[Visual Basic]
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())