Open topic with navigation

TIBCO Rendezvous® 8.7.0

# TibrvMsgView.getFieldByIndex()

Method

## Declaration

    TibrvMsgField getFieldByIndex(int fieldIndex)
      throws ArrayIndexOutOfBoundsException TibrvException

## Purpose

Get a field from a snapshot message view 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 TibrvMsgView.extract() creates field objects for each field of the message snapshot. This returns one of those field objects.

Parameter | Description
`fieldIndex` | Get the field with this index. Zero specifies the first field.

## See Also

TibrvMsgView

TibrvMsgView.get()

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO Rendezvous®

Copyright © 1997-2023. Cloud Software Group, Inc. All Rights Reserved.