Dynamicweb 8 Documentation
EstimateResults Method (Filter)

Append the given search query elemenet to the current search query.
Indicates whether to include the sub-query for the current filter to resulting query.
Returns an estimated number of search results for the current query.
Syntax
'Declaration
 
Public Function EstimateResults( _ 
   ByVal mergeWith As Dynamicweb.Searching.Queries.SearchQueryElement, _
   ByVal includeCurrent As Boolean _ 
) As Long
public long EstimateResults( 
   Dynamicweb.Searching.Queries.SearchQueryElement mergeWith,
   bool includeCurrent 
)

Parameters

mergeWith
Append the given search query elemenet to the current search query.
includeCurrent
Indicates whether to include the sub-query for the current filter to resulting query.

Return Value

The number of search results.
Requirements

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

See Also

Reference

Filter Class
Filter Members

Send Feedback