# Returning an array of a struct is now a list sometimes?

**URL:** https://talk.remobjects.com/t/returning-an-array-of-a-struct-is-now-a-list-sometimes/34395
**Category:** Remoting SDK
**Tags:** net
**Created:** [November 26, 2026, 8:16am UTC](https://talk.remobjects.com/t/returning-an-array-of-a-struct-is-now-a-list-sometimes/34395 "2026-11-26T08:16:16Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![fvancrae](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/f/ad7895/32.png) [@fvancrae](https://talk.remobjects.com/u/fvancrae)
#### Post date: [November 26, 2026, 8:16am UTC](https://talk.remobjects.com/t/returning-an-array-of-a-struct-is-now-a-list-sometimes/34395/1 "2026-11-26T08:16:16Z")

</div>

I opened an old .RODL with my new RO build 1629 and it changed the interface

For one function which has an output parameter which is an array of a struct it returns this as a list

For other structs it does not do this.

Is it because the name ends with list?

This however breaks the compatibility (code does not compile anymore)I have not checked what it does for the runtime (does running the exe without modified generated itf files work?)

 ![image](https://talk.remobjects.com/uploads/default/original/3X/d/7/d7d0645937394b3db5390d9d9c936e639fdd8a3f.png)

---

<div class="post-metadata">

### Author: ![artem.vuitsyk](https://talk.remobjects.com/user_avatar/talk.remobjects.com/artem.vuitsyk/32/22795_2.png) [@artem.vuitsyk](https://talk.remobjects.com/u/artem.vuitsyk)
#### Post date: [November 26, 2026, 8:57am UTC](https://talk.remobjects.com/t/returning-an-array-of-a-struct-is-now-a-list-sometimes/34395/3 "2026-11-26T08:57:03Z")

</div>

The `TNotificationList` array has a `Documentation` text in the RODL, and that is what makes it generated as a class.

To keep the documentation, adjust the calling code:

declare the variable as `TNotificationList and use .Count instead of .Length`

`(or .ToArray() where you need a real array)`

If you don’t need the documentation on this array:

- open the RODL in Service Builder,  
clear the Documentation field of `TNotificationList`, save and regenerate the `\_Intf.`

The parameter goes back to `out TNotificationItem\[\]`

---

<div class="post-metadata">

### Author: ![RemObjectsSoftware](https://talk.remobjects.com/user_avatar/talk.remobjects.com/remobjectssoftware/32/15947_2.png) [@RemObjectsSoftware](https://talk.remobjects.com/u/RemObjectsSoftware)
#### Post date: [November 26, 2026, 9:10am UTC](https://talk.remobjects.com/t/returning-an-array-of-a-struct-is-now-a-list-sometimes/34395/4 "2026-11-26T09:10:20Z")

</div>

Logged as [bugs://D19762](https://www.remobjects.com/portal/bugs/?id=D19762).

---

<div class="post-metadata">

### Author: ![RemObjectsSoftware](https://talk.remobjects.com/user_avatar/talk.remobjects.com/remobjectssoftware/32/15947_2.png) [@RemObjectsSoftware](https://talk.remobjects.com/u/RemObjectsSoftware)
#### Post date: [November 26, 2026, 1:46pm UTC](https://talk.remobjects.com/t/returning-an-array-of-a-struct-is-now-a-list-sometimes/34395/5 "2026-11-26T13:46:14Z")

</div>

[bugs://D19762](https://www.remobjects.com/portal/bugs/?id=D19762) was closed as fixed.

---

<div class="post-metadata">

### Author: ![artem.vuitsyk](https://talk.remobjects.com/user_avatar/talk.remobjects.com/artem.vuitsyk/32/22795_2.png) [@artem.vuitsyk](https://talk.remobjects.com/u/artem.vuitsyk)
#### Post date: [November 26, 2026, 1:47pm UTC](https://talk.remobjects.com/t/returning-an-array-of-a-struct-is-now-a-list-sometimes/34395/6 "2026-11-26T13:47:21Z")

</div>

Fix will be in the next release.
