CoreClasses Xojo Plugin

ObjectCollection.GetKeySet Method

Use this method to get a set of elements with the same string key when the collection is in multikey mode.

GetKeySet(
   key as String,
   ResultArray as IArray)

Parameters

key
The string key to get result for.
ResultArray
This parameter should be of the type IArray. The ResultArray can be any container that Implements the IArray Interface. (Can be a a container from the CoreClasses plugin or a custom class that implements the IArray interface).

Remarks

The following error codes could be generated by this method if there is a problem:

-3 - The ResultArray was passed a nil object
-4 - Incorrect object type was passed to the method.

Error results can be retrieved with the LastError property.

See Also

ObjectCollection Class