AppointmentStore 类

定义

表示包含约会的存储区。

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
继承
Object Platform::Object IInspectable AppointmentStore
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)
应用功能
appointmentsSystem

注解

版本历史记录

Windows 版本 SDK 版本 增值
1709 16299 GetChangeTracker

属性

ChangeTracker

返回与 约会存储关联的 AppointmentStoreChangeTracker

方法

CreateAppointmentCalendarAsync(String)

使用指定的参数在约会存储中异步创建一个新的 AppointmentCalendar

CreateAppointmentCalendarAsync(String, String)

使用指定的名称和用户数据帐户 ID 在约会存储中异步创建一个新的 AppointmentCalendar

FindAppointmentCalendarsAsync()

检索约会存储区中所有约会日历的列表。

FindAppointmentCalendarsAsync(FindAppointmentCalendarsOptions)

检索约会存储区中满足所提供的 FindAppointmentCalendarsOptions 对象指定的条件的约会日历列表。

FindAppointmentsAsync(DateTime, TimeSpan)

检索约会日历中指定日期范围内的约会列表。

FindAppointmentsAsync(DateTime, TimeSpan, FindAppointmentsOptions)

检索约会日历中属于指定日期范围且满足提供的 FindAppointmentsOptions 对象指定的条件的约会列表。

FindConflictAsync(Appointment)

返回一个 AppointmentConflictResult ,表示指定约会与约会存储中的现有约会之间的冲突。

FindConflictAsync(Appointment, DateTime)

返回一个 AppointmentConflictResult ,表示指定约会与约会存储中的现有约会实例之间的冲突。

FindLocalIdsFromRoamingIdAsync(String)

返回具有指定 RoamingId 值的约会实例的 LocalId 值列表。

GetAppointmentAsync(String)

检索具有指定 LocalId约会

GetAppointmentCalendarAsync(String)

检索具有指定 LocalIdAppointmentCalendar

GetAppointmentInstanceAsync(String, DateTime)

检索具有指定 LocalId 和指定开始时间的 Appointment 实例。

GetChangeTracker(String)

获取一个 AppointmentStoreChangeTracker,它提供用于监视 AppointmentStoreAppointment 对象更改的功能。

MoveAppointmentAsync(Appointment, AppointmentCalendar)

将指定的 Appointment 对象移动到指定的 AppointmentCalendar

ShowAddAppointmentAsync(Appointment, Rect)

显示约会提供程序添加约会 UI,使用户能够添加约会。

ShowAppointmentDetailsAsync(String)

显示约会提供程序约会详细信息 UI,使用户能够查看指定的约会。

ShowAppointmentDetailsAsync(String, DateTime)

显示约会提供程序约会详细信息 UI,使用户能够查看指定的约会。

ShowEditNewAppointmentAsync(Appointment)

显示约会提供程序添加约会 UI,包括完整的编辑体验,使用户能够添加约会。

ShowRemoveAppointmentAsync(String, Rect)

显示约会提供程序“删除约会”UI,使用户能够删除约会。

ShowRemoveAppointmentAsync(String, Rect, Placement, DateTime)

显示约会提供程序“删除约会”UI,使用户能够删除约会。

ShowReplaceAppointmentAsync(String, Appointment, Rect)

显示约会提供程序替换约会 UI,使用户能够替换约会。

ShowReplaceAppointmentAsync(String, Appointment, Rect, Placement, DateTime)

显示约会提供程序替换约会 UI,使用户能够替换约会。

事件

StoreChanged

AppointmentStore 更改时发生。

适用于