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.TryUpdateEvent(ref Event, String) Method

Tries to update the specified event in the calendar.

Namespace: DevExpress.XtraScheduler.Microsoft365Calendar

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

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

#Declaration

bool TryUpdateEvent(
    ref Event event,
    string calendarId = null
)

#Parameters

Name Type Description
event Microsoft.Graph.Event

An event that contains updated data.

#Optional Parameters

Name Type Default Description
calendarId String null

A calendar ID.

#Returns

Type Description
Boolean

true if the update operation was successfully completed; otherwise, false.

#Remarks

The TryUpdateEvent method replaces the event parameter value with the event returned by the calendar.

See Also