Dynamicweb 8 Documentation
EstimateResults Method (FilterManager)

Filter to estimate results for.
Append the given search query elemenet to the current search query.
Indicates whether to include the sub-query for the given filter to resulting query.
Returns an estimated number of search results for the given filter.
Syntax
'Declaration
 
Public Shared Function EstimateResults( _ 
   ByVal filter As Filter, _ 
   ByVal criteria As Dynamicweb.Searching.Queries.SearchQueryElement, _
   ByVal includeCurrent As Boolean _ 
) As Long
public static long EstimateResults( 
   Filter filter,
   Dynamicweb.Searching.Queries.SearchQueryElement criteria,
   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

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

FilterManager Class
FilterManager Members

Send Feedback