Datasnap.Provider.TDataRequestEvent

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
type
typedef
Visibility: public
Source:
Datasnap.Provider.pas
Datasnap.Provider.hpp
Unit: Datasnap.Provider
Parent: Datasnap.Provider

Delphi

TDataRequestEvent = function(Sender: TObject; Input: OleVariant): OleVariant of object;

C++

typedef System::OleVariant __fastcall (__closure *TDataRequestEvent)(System::TObject* Sender, const System::OleVariant &Input);

Description

Represents the function type for the events that occur when a provider calls its DataRequest method.

Use a variable of TDataRequestEvent type to reference an event that occurs when a provider calls its DataRequest method.

Sender is the provider component that receives the data request.

Input is application-defined data that indicates or qualifies the nature of the request.

The return value is an application-defined value that indicates the response to the request.

See Also