Skip to main content

TcxAcceptAppointmentItemImportFunc Type

Provides a callback reference to a function that verifies whether the Microsoft Outlook® item can be imported before it is actually imported.

Declaration

TcxAcceptAppointmentItemImportFunc = function(const AppointmentItem: OleVariant): Boolean;

Parameters

Name Type
AppointmentItem OleVariant

Referenced Class

Type
Boolean

Remarks

The TcxAcceptAppointmentItemImportFunc function reference enables a user-defined validation function to be implemented which for example, checks that the Microsoft Outlook® items match a particular criteria prior to them being imported into the scheduler. The function implemented should return a value of True to allow the items to be imported. If the conditions aren’t met False must be returned to cancel the import.

The AppointmentItem parameter specifies the item, which is going to be imported into the scheduler.

See Also