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 ref class Appointment sealed
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class Appointment final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
class Appointment final
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class Appointment
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
public sealed class Appointment
function Appointment()
Public NotInheritable Class Appointment
Inheritance
Object Platform::Object IInspectable Appointment
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
appointmentsSystem

Remarks

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

Constructors

Appointment()

Initializes a new instance of the Appointment class.

Properties

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

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

BusyStatus

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

CalendarId

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

ChangeNumber

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

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

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

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

Gets a value that indicates whether the appointment has 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 AppointmentManagerAPI fails with E_INVALIDARG. The number of invitees is unlimited.

IsCanceledMeeting

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

IsOrganizedByUser

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

IsResponseRequested

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

LocalId

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

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

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

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 AppointmentManagerAPI fails with E_INVALIDARG. The number of invitees is unlimited.

OriginalStartTime

Gets the original starting time for a recurring appointment.

Recurrence

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

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

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

ReplyTime

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

RoamingId

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

Sensitivity

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

StartTime

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

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

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

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

Applies to

See also