Difference between revisions of "RPC HELP TParamRecord"
(Created page with " RPC Broker Help Home <h2>TParamRecord Class</h2> * Properties * Example [[RPC_HELP_TRPCB_Uni...") |
|||
Line 11: | Line 11: | ||
The TParamRecord relationship to the [[RPC_HELP_TRPCBroker|TRPCBroker]] component is as follows: | The TParamRecord relationship to the [[RPC_HELP_TRPCBroker|TRPCBroker]] component is as follows: | ||
− | * The [[RPC_HELP_TRPCBroker|TRPCBroker]] component contains the [[RPC_HELP_TRPCBroker_Param_Property|Param]] property (i.e., TParams class). | + | * The [[RPC_HELP_TRPCBroker|TRPCBroker]] component contains the [[RPC_HELP_TRPCBroker_Param_Property|Param]] property (i.e., [[RPC_HELP_TParams|TParams]] class). |
+ | ** The [[RPC_HELP_TParams|TParams]] class contains the ParamArray property (array [I:integer]: '''TParamRecord''' class). | ||
+ | ***The '''TParamRecord''' class contains the [[RPC_HELP_TParamRecord_Mult_Property|Mult]] property (i.e., [[RPC_HELP_TMult|TMult]] class). | ||
+ | ****The [[RPC_HELP_TMult|TMult]] class contains the MultArray property (array[S: string]: string). | ||
+ | *****The MultArray property internally uses a TStringList in which each element’s object is a TString. | ||
− | + | '''NOTE: 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.''' | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | 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. |
Revision as of 00:10, 4 July 2015
TParamRecord Class
Description
The TParamRecord class 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 VistA M 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 class).
- The TParams class contains the ParamArray property (array [I:integer]: TParamRecord class).
NOTE: 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.