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.GetEvents(TcxSchedulerFilteredEventList,TDateTime,TDateTime,Variant) Method

Clears the specified event list and populates it with events retrieved from the persistence manager’s resources.

#Declaration

Delphi
function GetEvents(AList: TcxSchedulerFilteredEventList; const AStart: TDateTime; const AFinish: TDateTime; const AResourceID: Variant): Boolean; overload; virtual;

#Parameters

Name Type
AList TcxSchedulerFilteredEventList
AStart TDateTime
AFinish TDateTime
AResourceID Variant

#Returns

Type
Boolean

#Remarks

Call this function to obtain events within the time range between the AStart and AFinish parameter values. The GetEvents function returns True if it successfully appends at least a single event to the list passed as the AList parameter; otherwise – False.

The first overloaded function variant attempts to obtain events from all resources that the persistence manager has. The second GetEvents function variant allows you to retrieve events from a single resource whose unique identifier is passed as the AResourceID parameter. If you pass varNull as the parameter, the second overloaded function variant works identically to the first.

See Also