Enum AppointmentMethodType
Contents
[
Hide
]AppointmentMethodType enumeration
Defines the iCalendar METHOD of a calendar object, as specified by iTIP (RFC 5546).
public enum AppointmentMethodType
Values
| Name | Value | Description |
|---|---|---|
| None | 0 | The method is not set. The calendar application will use its default behavior. |
| Publish | 1 | Publishes an event to share it, without inviting anyone. Used for public calendar feeds. |
| Request | 2 | Invites one or more attendees to an event, or updates an existing invitation. Used for meeting requests. |
| Reply | 3 | Replies to a request, for example to accept or decline it. Sent by attendees to the organizer. |
| Add | 4 | Adds one or more instances to an existing event. Used to add occurrences to a recurring series. |
| Cancel | 5 | Cancels one or more instances of an existing event. Sent by the organizer to attendees. |
| Refresh | 6 | Sent by an attendee to the organizer to ask for the latest version of an event. |
| Counter | 7 | Sent by an attendee to the organizer to propose a change to an event. |
| DeclineCounter | 8 | Sent by the organizer to an attendee to decline a proposed change. |
Remarks
These values indicate the purpose or action associated with a calendar object. The METHOD property controls how calendar applications process the calendar data and determines what actions are available to attendees.
Use the MethodType property to set the method type for your appointments.
Examples
[C#]
var appointment = new Appointment("Room 112", new DateTime(2026, 10, 31, 14, 0, 0),
new DateTime(2026, 10, 31, 15, 0, 0), organizer, attendees);
// For a meeting request
appointment.MethodType = AppointmentMethodType.Request;
// For publishing without invitations
appointment.MethodType = AppointmentMethodType.Publish;
See Also
- namespace Aspose.Email.Calendar
- assembly Aspose.Email