Skip to main content

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

TcxCustomSchedulerStorage.GetEventByID(Variant) Method

Returns an event by its unique identifier.

#Declaration

Delphi
function GetEventByID(const AID: Variant): TcxSchedulerEvent;

#Parameters

Name Type
AID Variant

#Returns

Type
TcxSchedulerEvent

#Remarks

Call this function to obtain an event by its unique identifier passed as the AID parameter. The GetEventByID function returns nil if the specified identifier corresponds to no stored event in the persistence manager component. You can access all stored events via the Events property.

Note

Since event identifiers are unique only in a specific persistence manager component, the aggregate storage component does not work with event identifiers unlike its individual linked storage components (persistence managers). The aggregate storage’s GetEventByID function can return incorrect results. Call a specific linked storage component’s GetEventByID function instead.

See Also