IXlsSearchWorksheetResult
COM interface ( getting help with interfaces )

 

interface IXlsSearchWorksheetResult : IDispatch
{

  [id(1),propget] HRESULT Name([out, retval]BSTR* worksheetname);
  [id(2),propget] HRESULT Count([out, retval]long* results);
  [id(3),propget] HRESULT Item([in]int i, [out, retval]IXlsSearchResult** result);

}

 

HRESULT Name([out, retval]BSTR* worksheetname);
returns the name of the worksheet.

HRESULT Count([out, retval]long* results);
returns the amount of matches in that worksheet. The worksheet name itself is looked-up when a search is performed, which means one of the results can be the worksheet name itself. In such a case, the match is represented by a regular result, see below, with an invalid (row, col) value pair.

HRESULT Item([in]int i, [out, retval]IXlsSearchResult** result);
returns the ith result. See IXlsSearchResult for more information.