AppointmentStore.CreateAppointmentCalendarAsync 方法

定义

重载

CreateAppointmentCalendarAsync(String)

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

CreateAppointmentCalendarAsync(String, String)

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

CreateAppointmentCalendarAsync(String)

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

public:
 virtual IAsyncOperation<AppointmentCalendar ^> ^ CreateAppointmentCalendarAsync(Platform::String ^ name) = CreateAppointmentCalendarAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<AppointmentCalendar> CreateAppointmentCalendarAsync(winrt::hstring const& name);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<AppointmentCalendar> CreateAppointmentCalendarAsync(string name);
function createAppointmentCalendarAsync(name)
Public Function CreateAppointmentCalendarAsync (name As String) As IAsyncOperation(Of AppointmentCalendar)

参数

name
String

Platform::String

winrt::hstring

AppointmentCalendar 的名称。

返回

提供对新创建的 AppointmentCalendar 的访问权限的异步操作。

属性

Windows 要求

应用功能
appointmentsSystem

另请参阅

适用于

CreateAppointmentCalendarAsync(String, String)

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

public:
 virtual IAsyncOperation<AppointmentCalendar ^> ^ CreateAppointmentCalendarAsync(Platform::String ^ name, Platform::String ^ userDataAccountId) = CreateAppointmentCalendarAsync;
/// [Windows.Foundation.Metadata.Overload("CreateAppointmentCalendarInAccountAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<AppointmentCalendar> CreateAppointmentCalendarAsync(winrt::hstring const& name, winrt::hstring const& userDataAccountId);
[Windows.Foundation.Metadata.Overload("CreateAppointmentCalendarInAccountAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<AppointmentCalendar> CreateAppointmentCalendarAsync(string name, string userDataAccountId);
function createAppointmentCalendarAsync(name, userDataAccountId)
Public Function CreateAppointmentCalendarAsync (name As String, userDataAccountId As String) As IAsyncOperation(Of AppointmentCalendar)

参数

name
String

Platform::String

winrt::hstring

AppointmentCalendar 的名称。

userDataAccountId
String

Platform::String

winrt::hstring

用于创建 AppointmentCalendar 的用户数据帐户的标识符。

返回

提供对新创建的 AppointmentCalendar 的访问权限的异步操作。

属性

Windows 要求

应用功能
appointmentsSystem

另请参阅

适用于