TParamRecord Component

Properties Example

Unit
TRPCB

Description
The TParamRecord component is used to hold all of the information on a single RPC parameter. Depending on the type of the parameter needed, different properties are used. The PType property is always used to let the Broker on the server know how to interpret the parameter. For a single value parameter, the Value property should be used. In the case of a list or a word-processing text, use the Mult property.

The TParamRecord relationship to the TRPCBroker component is as follows:

The TRPCBroker component contains the Param property (i.e., TParams component).

The TParams component contains the ParamArray property (array [I:integer]: TParamRecord component).

The TParamRecord component contains the Mult property (i.e., TMult component).

The TMult component contains the MultArray property (array[S: string]: string).

The MultArray property internally uses a TStringList in which each element's object is a TString.

information icon Developers should rarely have a need to use TParamRecord by itself in their code. TParamRecord is the type of the elements in the ParamArray, default array property of the TRPCBroker component Param property. This means that when you are working with a Param[x] element, you are in reality working with an instance of TParamRecord.