Skip to main content

Options for Using Collection Classes

Options for Using Collection Classes

Within an XML-enabled class, tor each property of type %ListOfDataTypesOpens in a new tab or %ArrayOfDataTypesOpens in a new tab, the collection item is assumed to be a string; this assumption may or may not be suitable for your needs. Similarly, for each property of type %ListOfObjectsOpens in a new tab or %ArrayOfObjectsOpens in a new tab, the collection item type is RegisteredObject, and InterSystems IRIS does not include an XML projection for the type RegisteredObject, so the XML schema is not usable.

In these scenarios, you can do either of the following:

FeedbackOpens in a new tab