RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomProvider.InternalGetParams Method

Returns the requested parameter values as a Variant array.

Pascal
function InternalGetParams(Types: TParamTypes = AllParamTypes): OleVariant; virtual;
C++
virtual __fastcall OleVariant InternalGetParams(TParamTypes Types = AllParamTypes);

TCustomProvider uses InternalGetParams internally whenever it needs to assemble the current parameter values into an OleVariant. This provides the underlying implementation of the GetParams method, as well as assembling parameter values for methods that return output parameters (such as Execute or GetRecords). 

The Types parameter limits the parameter values that are returned to a subset of all possible parameter types. If this parameter is omitted, all parameter values are returned. 

As implemented in TCustomProvider, InternalGetParams always returns NULL. Descendants override this method to return the requested parameter values. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!