|
Class Reference
%Collection.ArrayOfObj
|
|
![]() |
|||
Private Storage |
The
Internally, an
For example, if array is an
Set doc=array.GetAt("Primary") Write doc.Name
Alternatively, we could use cascading dot syntax:
Set name=array.GetAt("Primary").Name
|
|
Properties | |||
---|---|---|---|
ElementClassType | ElementType | LiteralBehavior | OrefStorage |
Owner | ReadOnly | Storage | StreamLocation |
Subclasses | ||
---|---|---|
%Collection.ArrayOfObjCN | %Collection.ArrayOfStream | %Collection.MV.ArrayOfObj |
|
Unswizzles (removes from memory) the element associated with key in the array.Returns a
%Status value indicating success or failure.
Constructs array(key)=value for each element in the serialval value.Returns a
%Status value indicating success or failure.
Returns the number of elements contained in the array.
This method is deprecated.Please use
IsDefined instead.
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.
Starting from, but not including, position key, FindObjectId finds the next element in the list whose ObjectId equals id. If key is a null string, Find starts at the beginning of the list.Find returns the position of the found element or null string ("") if no element was found.
Starting from, but not including, location key, finds the next element in the array whose Oref value equals oref.If key is a null string (""), the search starts at the beginning of the array.
FindOref returns the key associated with the found element or null string ("") if no element is found. Unswizzled references are compared to oref.%Oid() and if equal, swizzling will occur.
Finds and returns the OREF value of the element associated with key.GetAt returns the OREF value of the element associated with key or null string ("") if no element is found.
Finds and returns the OREF value of the element at the location after key in the array. If key is a null string (""), it returns the OREF value of the first element in the array.The value of key, which is passed by reference, is updated to the key value of the returned element or null string ("") if key is at the end of the array.
Finds and returns the OID value of the element associated with key.GetObjectAt returns the OID value of the element associated with key or null string ("") if no element is found.
Finds and returns the ID value of the element associated with key.GetObjectIdAt returns the ID value of the element associated with key or null string ("") if no element is found.
Finds and returns the ID value of the element at the location after key in the array. If key is a null string (""), it returns the ID value of the first element in the array.The value of key, which is passed by reference, is updated to the key value of the returned element or null string ("") if key is at the end of the array.
Finds and returns the ID value of the element at the location before key in the array. If key is a null string (""), it returns the ID value of the last element in the array.The value of key, which is passed by reference, is updated to the key value of the returned element or null string ("") if key is at the beginning of the array.
Finds and returns the OID value of the element at the location after key in the array. If key is a null string (""), it returns the OID value of the first element in the array.The value of key, which is passed by reference, is updated to the key value of the returned element or null string ("") if key is at the end of the array.
Finds and returns the OID value of the element at the location before key in the array. If key is a null string (""), it returns the OID value of the last element in the array.The value of key, which is passed by reference, is updated to the key value of the returned element or null string ("") if key is at the beginning of the array.
Finds and returns the OREF value of the element at the location before key in the array. If key is a null string (""), it returns the OREF value of the last element in the array.The value of key, which is passed by reference, is updated to the key value of the returned element or null string ("") if key is at the beginning of the array.
Returns true (1) if a value is defined at location key, otherwise false (0).
Finds and returns the key value of the element at the location following key in the iteration. If key is a null string (""), then Next returns the key value for the first element in the array.
Finds and returns the key value of the element at the location preceding key in the array. If key is a null string (""), thenNext returns the key value for the last element in the array.
Removes the element associated with key in the array.RemoveAt returns the OID value of the removed element or null string ("") if no element was removed. It also has a success output argument that returns true if the item was removed and false if it was not.
Serialize() constructs a serialized form of the collection as a string
Sets the OREF value of the element associated with key to element.Returns a
%Status value indicating success or failure.
Sets the OID value of the element associated with key to element.Returns a
%Status value indicating success or failure.
Sets the ID value of the element associated with key to element.Returns a
%Status value indicating success or failure.