AppointmentCalendar.FindAllInstancesAsync 方法

定义

重载

FindAllInstancesAsync(String, DateTime, TimeSpan)

异步检索满足指定条件的指定主约会的约会实例列表。

FindAllInstancesAsync(String, DateTime, TimeSpan, FindAppointmentsOptions)

异步检索满足指定条件的指定主约会的约会实例列表。

FindAllInstancesAsync(String, DateTime, TimeSpan)

异步检索满足指定条件的指定主约会的约会实例列表。

public:
 virtual IAsyncOperation<IVectorView<Appointment ^> ^> ^ FindAllInstancesAsync(Platform::String ^ masterLocalId, DateTime rangeStart, TimeSpan rangeLength) = FindAllInstancesAsync;
/// [Windows.Foundation.Metadata.Overload("FindAllInstancesAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IVectorView<Appointment>> FindAllInstancesAsync(winrt::hstring const& masterLocalId, DateTime const& rangeStart, TimeSpan const& rangeLength);
[Windows.Foundation.Metadata.Overload("FindAllInstancesAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IReadOnlyList<Appointment>> FindAllInstancesAsync(string masterLocalId, System.DateTimeOffset rangeStart, System.TimeSpan rangeLength);
function findAllInstancesAsync(masterLocalId, rangeStart, rangeLength)
Public Function FindAllInstancesAsync (masterLocalId As String, rangeStart As DateTimeOffset, rangeLength As TimeSpan) As IAsyncOperation(Of IReadOnlyList(Of Appointment))

参数

masterLocalId
String

Platform::String

winrt::hstring

为其检索约会实例的主约会的 LocalId

rangeStart
DateTime DateTimeOffset

检索约会实例的时间窗口的开始时间。

rangeLength
TimeSpan TimeSpan

检索约会实例的时间窗口的长度。

返回

成功完成时返回 IVectorView 的异步操作。

属性

Windows 要求

应用功能
appointmentsSystem

另请参阅

适用于

FindAllInstancesAsync(String, DateTime, TimeSpan, FindAppointmentsOptions)

异步检索满足指定条件的指定主约会的约会实例列表。

public:
 virtual IAsyncOperation<IVectorView<Appointment ^> ^> ^ FindAllInstancesAsync(Platform::String ^ masterLocalId, DateTime rangeStart, TimeSpan rangeLength, FindAppointmentsOptions ^ pOptions) = FindAllInstancesAsync;
/// [Windows.Foundation.Metadata.Overload("FindAllInstancesAsyncWithOptions")]
IAsyncOperation<IVectorView<Appointment>> FindAllInstancesAsync(winrt::hstring const& masterLocalId, DateTime const& rangeStart, TimeSpan const& rangeLength, FindAppointmentsOptions const& pOptions);
[Windows.Foundation.Metadata.Overload("FindAllInstancesAsyncWithOptions")]
public IAsyncOperation<IReadOnlyList<Appointment>> FindAllInstancesAsync(string masterLocalId, System.DateTimeOffset rangeStart, System.TimeSpan rangeLength, FindAppointmentsOptions pOptions);
function findAllInstancesAsync(masterLocalId, rangeStart, rangeLength, pOptions)
Public Function FindAllInstancesAsync (masterLocalId As String, rangeStart As DateTimeOffset, rangeLength As TimeSpan, pOptions As FindAppointmentsOptions) As IAsyncOperation(Of IReadOnlyList(Of Appointment))

参数

masterLocalId
String

Platform::String

winrt::hstring

为其检索约会实例的主约会的 LocalId

rangeStart
DateTime DateTimeOffset

检索约会实例的时间窗口的开始时间。

rangeLength
TimeSpan TimeSpan

检索约会实例的时间窗口的长度。

pOptions
FindAppointmentsOptions

一个 FindAppointmentsOptions 对象,用于为此操作指定更多选项。

返回

成功完成时返回 IVectorView 的异步操作。

属性

Windows 要求

应用功能
appointmentsSystem

另请参阅

适用于