Data.DBXCommon.TResultCommandHandler.GetCommandParameter
Delphi
function GetCommandParameter(CommandIndex: Integer; ParameterIndex: Integer): TDBXParameter; overload; virtual; abstract;
function GetCommandParameter(Command: TDBXCommand; Index: Integer): TDBXParameter; overload; virtual; abstract;
C++
virtual TDBXParameter* __fastcall GetCommandParameter(int CommandIndex, int ParameterIndex) = 0 /* overload */;
virtual TDBXParameter* __fastcall GetCommandParameter(TDBXCommand* Command, int Index) = 0 /* overload */;
Propriétés
| Type | Visibilité | Source | Unité | Parent | 
|---|---|---|---|---|
| function | public | Data.DBXCommon.pas Data.DBXCommon.hpp | Data.DBXCommon | TResultCommandHandler | 
Description
Renvoie le paramètre de commande.
Il existe deux méthodes GetCommandParameter surchargées :
- Une qui renvoie le paramètre pour les index donnés. Le paramètre CommandIndexest l'index de commande et leParameterIndexest l'index de paramètre.
- Une qui renvoie le paramètre à l'indexspécifié de laCommande.
Remarque : Ces méthodes sont abstraites ; vous devriez utiliser une de leurs méthodes descendantes.