Share via


AppointmentCalendar Class

Definition

Represents a calendar with appointments.

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

Call the AppointmentStore.CreateAppointmentCalendarAsync, the AppointmentStore.FindAppointmentCalendarsAsync, or the AppointmentStore.GetAppointmentCalendarAsync method to obtain an instance of this class.

Version history

Windows version SDK version Value added
1607 14393 RegisterSyncManagerAsync

Properties

CanCancelMeetings

Gets or sets a Boolean value that indicates if the calendar supports cancelling meetings.

CanCreateOrUpdateAppointments

Gets or sets a Boolean value that indicates if the calendar supports creating or updating appointments.

CanForwardMeetings

Gets or sets a Boolean value that indicates if the calendar supports forwarding meetings.

CanNotifyInvitees

Gets or sets a Boolean value that indicates if the calendar supports notifying attendees.

CanProposeNewTimeForMeetings

Gets or sets a Boolean value that indicates if the calendar supports proposing new meeting times.

CanUpdateMeetingResponses

Gets or sets a Boolean value that indicates if the calendar supports updating meeting responses.

DisplayColor

Gets the color that the built-in calendar app uses for appointments associated with the calendar.

DisplayName

Gets a string representing the display name for the AppointmentCalendar.

IsHidden

Gets whether the AppointmentCalendar is hidden in the device's built-in calendar UI.

LocalId

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

MustNofityInvitees

Gets or sets a Boolean value that indicates if invitees must be sent notifications.

OtherAppReadAccess

Gets or sets a boolean value indicating whether other apps on the device have read access to the appointment calendar.

OtherAppWriteAccess

Gets or sets a boolean value indicating whether other apps on the device have write access to the appointment calendar.

RemoteId

Gets the remote ID for the AppointmentCalendar.

SourceDisplayName

Gets a string that describes the provider for the appointment calendar.

SummaryCardView

Gets or sets how the summary card for the calendar's appointments are displayed.

SyncManager

Gets the AppointmentCalendarSyncManager which can be used to sync with the remote server.

UserDataAccountId

Get the identifier of the user account data for the AppointmentCalendar.

Methods

DeleteAppointmentAsync(String)

Asynchronously deletes the appointment with the specified ID.

DeleteAppointmentInstanceAsync(String, DateTime)

Asynchronously deletes the appointment instance with the specified start time of a master appointment with the specified ID.

DeleteAsync()

Asynchronously deletes the appointment calendar.

FindAllInstancesAsync(String, DateTime, TimeSpan, FindAppointmentsOptions)

Asynchronously retrieves a list of appointment instances of the specified master appointment that meet the specified criteria.

FindAllInstancesAsync(String, DateTime, TimeSpan)

Asynchronously retrieves a list of appointment instances of the specified master appointment that meet the specified criteria.

FindAppointmentsAsync(DateTime, TimeSpan, FindAppointmentsOptions)

Asynchronously retrieves a list of appointments belonging to the current AppointmentCalendar that meet the specified criteria.

FindAppointmentsAsync(DateTime, TimeSpan)

Asynchronously retrieves a list of appointments belonging to the current AppointmentCalendar that meet the specified criteria.

FindExceptionsFromMasterAsync(String)

Asynchronously retrieves a list of appointment instances that are exceptions from the specified master appointment.

FindUnexpandedAppointmentsAsync()

Asynchronously retrieves a list of appointments that meet the specified criteria.

FindUnexpandedAppointmentsAsync(FindAppointmentsOptions)

Asynchronously retrieves a list of appointments that meet the specified criteria.

GetAppointmentAsync(String)

Asynchronously retrieves the Appointment with the specified ID.

GetAppointmentInstanceAsync(String, DateTime)

Asynchronously retrieves the appointment instance of the specified master appointment that has the specified start time.

RegisterSyncManagerAsync()

Registers the AppointmentCalendar as a sync provider.

SaveAppointmentAsync(Appointment)

Asynchronously saves the provided appointment to the calendar.

SaveAsync()

Asynchronously saves changes to the appointment calendar.

TryCancelMeetingAsync(Appointment, String, String, Boolean)

Asynchronously attempts to cancel a meeting.

TryCreateOrUpdateAppointmentAsync(Appointment, Boolean)

Asynchronously attempts to create or update a meeting.

TryForwardMeetingAsync(Appointment, IIterable<AppointmentInvitee>, String, String, String)

Asynchronously attempts to forward a meeting.

TryProposeNewTimeForMeetingAsync(Appointment, DateTime, TimeSpan, String, String)

Asynchronously attempts to propose a new meeting time.

TryUpdateMeetingResponseAsync(Appointment, AppointmentParticipantResponse, String, String, Boolean)

Asynchronously attempts to update the response to a meeting invitation.

Applies to

See also