共用方式為


AppointmentCalendar 類別

定義

代表具有約會的行事曆。

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
繼承
Object Platform::Object IInspectable AppointmentCalendar
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)
應用程式功能
appointmentsSystem

備註

呼叫 AppointmentStore.CreateAppointmentCalendarAsyncAppointmentStore.FindAppointmentCalendarsAsyncAppointmentStore.GetAppointmentCalendarAsync 方法來取得此類別的實例。

版本歷程記錄

Windows 版本 SDK 版本 已新增值
1607 14393 RegisterSyncManagerAsync

屬性

CanCancelMeetings

取得或設定布林值,指出行事曆是否支援取消會議。

CanCreateOrUpdateAppointments

取得或設定布林值,指出行事曆是否支援建立或更新約會。

CanForwardMeetings

取得或設定布林值,指出行事曆是否支援轉寄會議。

CanNotifyInvitees

取得或設定布林值,指出行事曆是否支援通知出席者。

CanProposeNewTimeForMeetings

取得或設定布林值,指出行事曆是否支援建議新的會議時間。

CanUpdateMeetingResponses

取得或設定布林值,指出行事曆是否支援更新會議回覆。

DisplayColor

取得內建行事曆應用程式用於與行事曆相關聯的約會的色彩。

DisplayName

取得字串,表示 AppointmentCalendar的顯示名稱。

IsHidden

取得 AppointmentCalendar 是否隱藏在裝置的內建行事曆 UI 中。

LocalId

取得字串,這個字串可唯一識別本機裝置上的約會行事曆。

MustNofityInvitees

取得或設定布林值,指出是否必須傳送邀請者通知。

OtherAppReadAccess

取得或設定布林值,指出裝置上的其他應用程式是否具有約會行事曆的讀取權限。

OtherAppWriteAccess

取得或設定布林值,指出裝置上的其他應用程式是否具有約會行事曆的寫入權限。

RemoteId

取得 AppointmentCalendar的遠端識別碼。

SourceDisplayName

取得字串,描述約會行事曆的提供者。

SummaryCardView

取得或設定行事曆約會的摘要卡片顯示方式。

SyncManager

取得 AppointmentCalendarSyncManager ,可用來與遠端伺服器同步。

UserDataAccountId

取得 AppointmentCalendar使用者帳戶資料的識別碼。

方法

DeleteAppointmentAsync(String)

以非同步方式刪除具有指定識別碼的約會。

DeleteAppointmentInstanceAsync(String, DateTime)

以非同步方式刪除具有指定識別碼之主要約會的指定開始時間的約會實例。

DeleteAsync()

以非同步方式刪除約會行事曆。

FindAllInstancesAsync(String, DateTime, TimeSpan)

以非同步方式擷取符合指定準則之指定主要約會的約會實例清單。

FindAllInstancesAsync(String, DateTime, TimeSpan, FindAppointmentsOptions)

以非同步方式擷取符合指定準則之指定主要約會的約會實例清單。

FindAppointmentsAsync(DateTime, TimeSpan)

以非同步方式擷取屬於目前 AppointmentCalendar 的約會 清單,該約會符合指定的準則。

FindAppointmentsAsync(DateTime, TimeSpan, FindAppointmentsOptions)

以非同步方式擷取屬於目前 AppointmentCalendar 的約會 清單,該約會符合指定的準則。

FindExceptionsFromMasterAsync(String)

以非同步方式從指定的主要約會擷取例外狀況的約會實例清單。

FindUnexpandedAppointmentsAsync()

以非同步方式擷取符合指定準則的約會清單。

FindUnexpandedAppointmentsAsync(FindAppointmentsOptions)

以非同步方式擷取符合指定準則的約會清單。

GetAppointmentAsync(String)

以非同步方式擷取具有指定識別碼的 約會

GetAppointmentInstanceAsync(String, DateTime)

以非同步方式擷取具有指定開始時間之指定主要約會的約會實例。

RegisterSyncManagerAsync()

AppointmentCalendar 註冊為同步提供者。

SaveAppointmentAsync(Appointment)

以非同步方式將提供的約會儲存至行事曆。

SaveAsync()

以非同步方式儲存約會行事曆的變更。

TryCancelMeetingAsync(Appointment, String, String, Boolean)

以非同步方式嘗試取消會議。

TryCreateOrUpdateAppointmentAsync(Appointment, Boolean)

以非同步方式嘗試建立或更新會議。

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

以非同步方式嘗試轉送會議。

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

以非同步方式嘗試建議新的會議時間。

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

以非同步方式嘗試更新會議邀請的回應。

適用於

另請參閱