Skip to main content

TcxSchedulerEvent.GetCustomFieldValueByName(string) Method

Returns the user-defined attribute’s value of the user event from the AName custom field, located in the TcxSchedulerStorageFields collection.

Declaration

function GetCustomFieldValueByName(const AName: string): Variant;

Parameters

Name Type
AName string

Returns

Type
Variant

Remarks

Call this function to get the value of the user-defined attribute from the custom field specified by the AName parameter. If the AName parameter value doesn’t match the custom field’s name in the TcxSchedulerStorageFields collection, the runtime exception will be thrown.

See Also