IGraphClientAsync.ListCalendarItemsAsync

IGraphClientAsync.ListCalendarItemsAsync method

Asynchronously lists MapiCalendar items from the calendar.

public Task<MapiCalendarCollection> ListCalendarItemsAsync(string id, 
    ODataQueryBuilder queryBuilder = null, CancellationToken cancellationToken = default)
ParameterTypeDescription
idStringCalendar id.
queryBuilderODataQueryBuilderOptional OData query builder for filtering calendars.
cancellationTokenCancellationTokenA cancellation token to observe while waiting for the task to complete.

Return Value

A task that represents the asynchronous operation. The task result contains the list of MapiCalendar of the calendar.

See Also