Open topic with navigation

TIBCO Rendezvous® 8.8.0

# TibrvMsgField::getCount()

Method

## Declaration

    tibrv_u32 getCount() const;

## Purpose

Get the number of elements in a field.

## Remarks

For array types, `count` is the number of array elements.

For example, when a field contains a array of ten 32-bit integers, its `size` is `4`, and its `count` is `10`.

(For scalar types, strings, opaque byte sequences and XML data, the `count` is `1`. That is, the field contains one string—not an array of characters; one opaque value—not an array of bytes.)

This method returns the value of the member `field.count`.

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-2025. Cloud Software Group, Inc. All Rights Reserved.