TibrvMsg.getFieldByIndex()
Method
Declaration
TibrvMsgFieldgetFieldByIndex
(int fieldIndex)
throws ArrayIndexOutOfBoundsException TibrvException
Purpose
Get a field from a message by an index.
Remarks
Programs can loop through all the fields of a message, to retrieve each field in turn using an integer index.
The method takes a snapshot of the field, and returns that information as a field object.
Add, remove and update calls can perturb the order of fields (which, in turn, affects the results when a program gets a field by index).
Parameter |
Description |
|
Get the field with this index. Zero specifies the first field. |