This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see the InterSystems IRIS Migration Guide and Migrating to InterSystems IRIS, both available on the WRC Distributions page (login required).


class %Collection.ArrayOfObjCN extends %Collection.ArrayOfObj

A version of the %Collection.ArrayOfObj collection class that stores class names in OIDs. These %Collection classes can only be used when you have a collection property of another object as they rely on storing the data inside the parent object, they can not be used as 'stand alone' collections, for this use the %ArrayOfObjectsWithClassName.

Method Inventory (Including Private)


method Find(element As %ObjectIdentity, key As %String) as %String
Inherited description: Starting from, but not including, location key, finds the next element in the array whose OID value equals element.

If key is a null string (""), the search starts at the beginning of the array.

Find returns the key associated with the found element or null string ("") if no element is found.

method Serialize(force As %Integer = 0) as %String
Serialize() constructs a serialized form of the collection as a string

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)