Appointment Appointment Appointment Appointment Appointment Class

Definition

Represents an appointment in a calendar. This class is used when an app is activated using the AppointmentsProvider value for ActivationKind, as a value for AppointmentInformation properties.

public : sealed class Appointment
struct winrt::Windows::ApplicationModel::Appointments::Appointment
public sealed class Appointment
Public NotInheritable Class Appointment
var appointment = new appointment();
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
appointmentsSystem

Remarks

For info about how to manage appointments, see Managing appointments and Quickstart: Managing appointments .

Constructors

Appointment() Appointment() Appointment() Appointment() Appointment()

Initializes a new instance of the Appointment class.

Properties

AllDay AllDay AllDay AllDay AllDay

Gets or sets a Boolean value that indicates whether the appointment will last all day. The default is FALSE for won't last all day.

AllowNewTimeProposal AllowNewTimeProposal AllowNewTimeProposal AllowNewTimeProposal AllowNewTimeProposal

Gets or sets a value that indicates whether the appointment will allow users to propose a new time.

BusyStatus BusyStatus BusyStatus BusyStatus BusyStatus

Gets or sets a AppointmentBusyStatus -typed value that indicates the busy status for a participant of an appointment.

CalendarId CalendarId CalendarId CalendarId CalendarId

Gets the unique identifier for the calendar associated with the appointment.

ChangeNumber ChangeNumber ChangeNumber ChangeNumber ChangeNumber

Gets the current change number of the local version of the Appointment.

Details Details Details Details Details

Gets or sets a string value. The string contains extended details that describe the appointment. Details is of type String and a maximum of 1,073,741,823 characters in length, which is the maximum length of a JET database string.

DetailsKind DetailsKind DetailsKind DetailsKind DetailsKind

Gets or sets the type of appointment details, plain text or HTML.

Duration Duration Duration Duration Duration

Gets or sets a time span that represents the time duration of the appointment. Duration is of type TimeSpan and must be non-negative.

HasInvitees HasInvitees HasInvitees HasInvitees HasInvitees

Gets a value that indicates whether the appointment has invitees.

Invitees Invitees Invitees Invitees Invitees

Gets the list of participants for the appointment. Invitees is of type IVector(AppointmentInvitee). If an organizer is set and invitee length is greater than 0, a call to an AppointmentManager API fails with E_INVALIDARG. The number of invitees is unlimited.

IsCanceledMeeting IsCanceledMeeting IsCanceledMeeting IsCanceledMeeting IsCanceledMeeting

Gets or sets a value that indicates whether the appointment has been cancelled.

IsOrganizedByUser IsOrganizedByUser IsOrganizedByUser IsOrganizedByUser IsOrganizedByUser

Gets or sets a value that indicates whether the appointment was organized by the current user.

IsResponseRequested IsResponseRequested IsResponseRequested IsResponseRequested IsResponseRequested

Gets or sets a value that indicates whether a response to the appointment invitation is requested.

LocalId LocalId LocalId LocalId LocalId

Gets a string that uniquely identifies the appointment on the local device.

Location Location Location Location Location

Gets or sets a string that communicates the physical location of the appointment. Location is of type String and a maximum of 32,768 characters in length.

OnlineMeetingLink OnlineMeetingLink OnlineMeetingLink OnlineMeetingLink OnlineMeetingLink

Gets or sets a string value that is a URL used to join the online meeting for the appointment.

Organizer Organizer Organizer Organizer Organizer

Gets or sets the organizer of the appointment. Organizer is of type AppointmentOrganizer. If an organizer is set and invitee length is greater than 0, a call to an AppointmentManager API fails with E_INVALIDARG. The number of invitees is unlimited.

OriginalStartTime OriginalStartTime OriginalStartTime OriginalStartTime OriginalStartTime

Gets the original starting time for a recurring appointment.

Recurrence Recurrence Recurrence Recurrence Recurrence

Gets or sets the object that describes when and how often the appointment occurs. Recurrence is of type AppointmentRecurrence.

Reminder Reminder Reminder Reminder Reminder

Gets or sets a time span value. The value declares the amount of time to subtract from the StartTime, and that time used as the issue time for a reminder for an appointment. A null value indicates that the appointment will not issue a reminder. Reminder is of type IReference(TimeSpan).

RemoteChangeNumber RemoteChangeNumber RemoteChangeNumber RemoteChangeNumber RemoteChangeNumber

Gets or sets the current change number of the server version of the Appointment.

ReplyTime ReplyTime ReplyTime ReplyTime ReplyTime

Gets or sets the date and time that the user responded to the appointment request.

RoamingId RoamingId RoamingId RoamingId RoamingId

Gets or sets a string that uniquely identifies an appointment across devices.

Sensitivity Sensitivity Sensitivity Sensitivity Sensitivity

Gets or sets a AppointmentSensitivity -typed value that indicates the sensitivity of the appointment.

StartTime StartTime StartTime StartTime StartTime

Gets or sets the starting time for the appointment. StartTime is of type DateTime.

Subject Subject Subject Subject Subject

Gets or sets a string that communicates the subject of the appointment. Subject is of type String and a maximum of 255 characters in length.

Uri Uri Uri Uri Uri

Gets the Uniform Resource Identifier (Uri ) for the appointment. Allows the Calendar app to perform an association launch to go back to the source app or other URI that represents this appointment.

UserResponse UserResponse UserResponse UserResponse UserResponse

Gets or sets the user's response to the appointment request.

See also