Language Reference Guide : System Classes : StringHashTable Class : FindAll Method
 
Share this page          
FindAll Method
The FindAll method inserts all objects (with the given key, if specified) from the hash table into the results array.
If noduplicates is TRUE, then duplicate object references (which can exist in the hash table, for example, with different keys) are not inserted into the array.
This method has the following syntax:
integer = StringHashTable.FindAll(results = ArrayObject [, key = varchar(2000)]
          [, noduplicates = integer])
This method has the following parameters:
results
(Required) Specifies the ArrayObject that holds the results
key
Specifies the key of the objects to find
noduplicates
Specifies that duplicate object references are excluded from the array
This method returns ER_OK if successful, ER_KEYNOTFOUND if the key does not exist, and ER_FAIL if an error occurred. Descriptions of system constant values and their numeric equivalents are listed in Error Codes.