InterSystems IRIS Data Platform 2020.4 > Class Reference > ENSLIB namespace > %Collection.ArrayOfObjCN

%Collection.ArrayOfObjCN

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

Methods

method Find(element As %ObjectIdentity, key As %String) as %String [ Language = objectscript ]
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 [ Language = objectscript ]
Serialize() constructs a serialized form of the collection as a string

Inherited Members

Inherited Properties

Inherited Methods

Feedback