Returns value indicating whether there are any search results available for the given query.
'Declaration
Public Shared Function HasResults( _
ByVal As Filter, _
ByVal As Dynamicweb.Searching.Queries.SearchQueryElement, _
ByVal As Boolean _
) As Boolean
public static bool HasResults(
Filter ,
Dynamicweb.Searching.Queries.SearchQueryElement ,
bool includeCurrent
)
Parameters
- filter
- Filter to estimate results for.
- criteria
- Append the given search query elemenet to the current search query.
- includeCurrent
- Indicates whether to include the sub-query for the given filter to resulting query.
Return Value
Value indicating whether there are any search results available for the given query.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2