Delen via


AppointmentCalendar.FindAllInstancesAsync Method

Definition

Overloads

FindAllInstancesAsync(String, DateTime, TimeSpan)

Asynchronously retrieves a list of appointment instances of the specified master appointment that meet the specified criteria.

FindAllInstancesAsync(String, DateTime, TimeSpan, FindAppointmentsOptions)

Asynchronously retrieves a list of appointment instances of the specified master appointment that meet the specified criteria.

FindAllInstancesAsync(String, DateTime, TimeSpan)

Asynchronously retrieves a list of appointment instances of the specified master appointment that meet the specified criteria.

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))

Parameters

masterLocalId
String

Platform::String

winrt::hstring

The LocalId of the master appointment for which appointment instances are retrieved.

rangeStart
DateTime DateTimeOffset

The start time of the time window for which appointment instances are retrieved.

rangeLength
TimeSpan TimeSpan

The length of the time window for which appointment instances are retrieved.

Returns

An asynchronous operation that returns IVectorView on successful completion.

Attributes

Windows requirements

App capabilities
appointmentsSystem

See also

Applies to

FindAllInstancesAsync(String, DateTime, TimeSpan, FindAppointmentsOptions)

Asynchronously retrieves a list of appointment instances of the specified master appointment that meet the specified criteria.

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))

Parameters

masterLocalId
String

Platform::String

winrt::hstring

The LocalId of the master appointment for which appointment instances are retrieved.

rangeStart
DateTime DateTimeOffset

The start time of the time window for which appointment instances are retrieved.

rangeLength
TimeSpan TimeSpan

The length of the time window for which appointment instances are retrieved.

pOptions
FindAppointmentsOptions

A FindAppointmentsOptions object that is used to specify more options for this operation.

Returns

An asynchronous operation that returns IVectorView on successful completion.

Attributes

Windows requirements

App capabilities
appointmentsSystem

See also

Applies to