Back to Devexpress

cxStringToRecurrenceInfoData(AnsiString) Method

vcl-cxschedulerrecurrence-dot-cxstringtorecurrenceinfodata-x28-ecf911e4-x29.md

latest1.6 KB
Original Source

cxStringToRecurrenceInfoData(AnsiString) Method

Converts a specified string to a TcxSchedulerCustomRecurrenceInfoData record.

Declaration

delphi
function cxStringToRecurrenceInfoData(const S: AnsiString): TcxSchedulerCustomRecurrenceInfoData;

Parameters

NameType
SAnsiString

Returns

Type
TcxSchedulerCustomRecurrenceInfoData

Remarks

The recurrence details represented by the TcxSchedulerCustomRecurrenceInfoData record are stored in the data store in binary format (in a dataset field of the BLOB type).

First, the data is fetched from the dataset into a string that is used as a buffer between the BLOB field and the TcxSchedulerCustomRecurrenceInfoData record. After that the cxStringToRecurrenceInfoData function is to be invoked to transfer the data from the string passed as the S parameter to the TcxSchedulerCustomRecurrenceInfoData record.

See Also

cxSchedulerRecurrence.cxRecurrenceInfoDataToString

Handling Raw Data

cxSchedulerRecurrence Unit