AppointmentStore Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a store that contains appointments.
public ref class AppointmentStore 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 AppointmentStore 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 AppointmentStore
Public NotInheritable Class AppointmentStore
- Inheritance
- 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
Version history
Windows version | SDK version | Value added |
---|---|---|
1709 | 16299 | GetChangeTracker |
Properties
ChangeTracker |
Returns the AppointmentStoreChangeTracker associated with the appointment store. |
Methods
CreateAppointmentCalendarAsync(String, String) |
Asynchronously creates a new AppointmentCalendar within the appointment store with the specified name and user data account ID. |
CreateAppointmentCalendarAsync(String) |
Asynchronously creates a new AppointmentCalendar within the appointment store using the specified parameters. |
FindAppointmentCalendarsAsync() |
Retrieves a list of all of the appointment calendars in the appointment store. |
FindAppointmentCalendarsAsync(FindAppointmentCalendarsOptions) |
Retrieves a list of appointment calendars in the appointment store that meet the criteria specified by the supplied FindAppointmentCalendarsOptions object.. |
FindAppointmentsAsync(DateTime, TimeSpan, FindAppointmentsOptions) |
Retrieves a list of appointments in the appointment calendar that fall within the specified date range and meet the criteria specified by the supplied FindAppointmentsOptions object.. |
FindAppointmentsAsync(DateTime, TimeSpan) |
Retrieves a list of appointments in the appointment calendar that fall within the specified date range. |
FindConflictAsync(Appointment, DateTime) |
Returns an AppointmentConflictResult representing a conflict between the specified appointment and an existing appointment instance in the appointment store. |
FindConflictAsync(Appointment) |
Returns an AppointmentConflictResult representing a conflict between the specified appointment and an existing appointment in the appointment store. |
FindLocalIdsFromRoamingIdAsync(String) |
Returns a list of LocalId values for appointment instances with the specified RoamingId value. |
GetAppointmentAsync(String) |
Retrieves the Appointment with the specified LocalId. |
GetAppointmentCalendarAsync(String) |
Retrieves the AppointmentCalendar with the specified LocalId. |
GetAppointmentInstanceAsync(String, DateTime) |
Retrieves the instance of the Appointment with the specified LocalId and the specified start time. |
GetChangeTracker(String) |
Gets a AppointmentStoreChangeTracker that provides functionality for monitoring changes to Appointment objects in the AppointmentStore. |
MoveAppointmentAsync(Appointment, AppointmentCalendar) |
Moves the specified Appointment object to the specified AppointmentCalendar. |
ShowAddAppointmentAsync(Appointment, Rect) |
Shows the Appointments provider Add Appointment UI, to enable the user to add an appointment. |
ShowAppointmentDetailsAsync(String, DateTime) |
Shows the Appointments provider Appointment Details UI, to enable the user to view the specified appointment. |
ShowAppointmentDetailsAsync(String) |
Shows the Appointments provider Appointment Details UI, to enable the user to view the specified appointment. |
ShowEditNewAppointmentAsync(Appointment) |
Shows the Appointments provider Add Appointment UI including the full edit experience, to enable the user to add an appointment. |
ShowRemoveAppointmentAsync(String, Rect, Placement, DateTime) |
Shows the Appointments provider Remove Appointment UI, to enable the user to remove an appointment. |
ShowRemoveAppointmentAsync(String, Rect) |
Shows the Appointments provider Remove Appointment UI, to enable the user to remove an appointment. |
ShowReplaceAppointmentAsync(String, Appointment, Rect, Placement, DateTime) |
Shows the Appointments provider Replace Appointment UI, to enable the user to replace an appointment. |
ShowReplaceAppointmentAsync(String, Appointment, Rect) |
Shows the Appointments provider Replace Appointment UI, to enable the user to replace an appointment. |
Events
StoreChanged |
Occurs when the AppointmentStore changes. |