Help > Web Development > Object Reference > Object Reference > ISYSIndex > LoadResultList Method
<a name="kanchor428"></a>ISYSIndex:LoadResultList Method
Loads a previously saved result list and returns an associated ISYSResultList object.

Note: This method is provided for compatibility with ISYS 6. New applications should use the ISYSSearch object.

Syntax
[VBScript]
function ISYSIndex.LoadResultList(_
  string Filename, _ 
  long ID_ 
) as ISYSResultList
[C#]
IISYSResultList  IISYSIndex.LoadResultList(
  string Filename, 
  long ID
);
[ColdFusion/Java]
IISYSResultList  IISYSIndex.LoadResultList(
  java.lang.String Filename, 
  long ID
) throws ComException;
Parameters
FilenameThe name of the file that contains the result list to load. Must be an empty string ("") if ID is used.
IDThe ID of the result list returned from a call to ISYSResultList::Save. Must be zero if loading via Filename.

Examples
[VBScript]
<% dim results set results = Application("ISYSIndex").LoadResultList("", _ CInt(Request("searchid"))) %>
Remarks
If the index that the result list was saved from is different the current index, ISYS will automatically swap to the original index. This does not affect the ISYSIndex object.
See Also