DSAzure.TAzureService.QueryParams
Delphi
function QueryParams(Params: array of const; Values: array of const): String; overload;
function QueryParams(Params: array of const; Values: array of const; UserParams: array of const; UserValues: array of const): String; overload;
C++
System::UnicodeString __fastcall QueryParams(System::TVarRec *Params, const int Params_High, System::TVarRec *Values, const int Values_High)/* overload */;
System::UnicodeString __fastcall QueryParams(System::TVarRec *Params, const int Params_High, System::TVarRec *Values, const int Values_High, System::TVarRec *UserParams, const int UserParams_High, System::TVarRec *UserValues, const int UserValues_High)/* overload */;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | protected | DSAzure.pas DSAzure.hpp |
DSAzure | TAzureService |
説明
指定されたパラメータおよびその値の、クエリ文字列表現を返します。
2 つの必須配列および 2 つの任意配列は、ともにペアとなっており、Params
または UserParams
配列にはパラメータの名前が、Values
または UserValues
配列には対応するパラメータの値が入っています。Params
と Values
で長さは同じでなければならず、また、UserParams
と UserValues
で長さは同じでなければなりません。
QueryParams は、これらのパラメータから抽出して、クエリ文字列を次の形式で構築します:
Params[i]=Values[i](&Params[j]=Values[j])*
ここでの最初のキーと値は、最初の配列ペア(Params
, Values
)から使用され、次の任意の配列から使用されます(それらが空でなかった場合)。