Skip to main content
All docs
V24.1

IOutlookEngine.GetCalendarViewAsync(String, DateTime, DateTime, Int32) Method

Returns a task that obtains events displayed in the calendar for the specified date range.

Namespace: DevExpress.XtraScheduler.Microsoft365Calendar

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

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

Declaration

Task<List<Event>> GetCalendarViewAsync(
    string calendarId,
    DateTime startTime,
    DateTime endTime,
    int pageLength = 100
)

Parameters

Name Type Description
calendarId String

A calendar ID.

startTime DateTime

The first date in the range.

endTime DateTime

The last date in the range.

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 events displayed in the calendar for the specified date range.

See Also