Datasnap.Provider.TDataRequestEvent
Delphi
TDataRequestEvent = function(Sender: TObject; Input: OleVariant): OleVariant of object;
C++
typedef System::OleVariant __fastcall (__closure *TDataRequestEvent)(System::TObject* Sender, const System::OleVariant &Input);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
type typedef |
public | Datasnap.Provider.pas Datasnap.Provider.hpp |
Datasnap.Provider | Datasnap.Provider |
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.