Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IOutlookEngine.GetAllEventsFromCalendarAsync(String, Int32) Method

Returns a task that obtains all events from the specified calendar.

Namespace: DevExpress.XtraScheduler.Microsoft365Calendar

Assembly: DevExpress.XtraScheduler.v24.2.Microsoft365Calendar.dll

NuGet Package: DevExpress.Scheduler.Core.Desktop.Microsoft365Calendar

#Declaration

Task<List<Event>> GetAllEventsFromCalendarAsync(
    string calendarId,
    int pageLength = 100
)

#Parameters

Name Type Description
calendarId String

A calendar ID.

#Optional Parameters

Name Type Default Description
pageLength Int32 100

The number of items on a single returned page.

#Returns

Type Description
Task<List<Microsoft.Graph.Event>>

A task that returns all events from the specified calendar.

See Also