Datasnap.Provider.TCustomProvider.DoBeforeGetParams

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: protected
Source:
Datasnap.Provider.pas
Datasnap.Provider.hpp
Unit: Datasnap.Provider
Parent: TCustomProvider

Delphi

procedure DoBeforeGetParams(var OwnerData: OleVariant); virtual;

C++

virtual void __fastcall DoBeforeGetParams(System::OleVariant &OwnerData);

Description

Generates a BeforeGetParams event.

The GetParams method calls DoBeforeGetParams to generate the BeforeGetParams event before fetching the current parameter values of the associated dataset.

OwnerData supplies custom information to the BeforeGetParams event handler. The event handler can change this value. The returned value is then passed to an AfterGetParams event handler and then returned to the caller of the GetParams method.

See Also