Runs the search and returns results between lowRange (inclusive and 1 based) and highRange (inclusive and 1 based), ensure the QueryString property is set before calling this.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual SearchResult Search( string queryExpression, int lowRange, int highRange )
Public Overridable Function Search ( _ queryExpression As String, _ lowRange As Integer, _ highRange As Integer _ ) As SearchResult
public: virtual SearchResult^ Search( String^ queryExpression, int lowRange, int highRange )
Parameters
- queryExpression (String)
- The expression to search for
- lowRange (Int32)
- The lowest result number to return (1 based)
- highRange (Int32)
- The highest result number to return (1 based)
Return Value
A SearchResult instance with results found
Remarks
The returned SearchResult object will include results between lowRange and highRange.
Eg. if lowRange = 10 and highRange = 19 the results returned will be items 10 through 19.