Dynamicweb.Extensibility.Searching.eCommerce Namespace > FilterContext Class > CurrentQuery Method : CurrentQuery(Boolean,Boolean,Boolean) Method |
'Declaration
Public Overloads Function CurrentQuery( _ ByVal includeCurrent As Boolean, _ ByVal onlyApplied As Boolean, _ ByVal cache As Boolean _ ) As Dynamicweb.Searching.Queries.SearchQueryElement
public Dynamicweb.Searching.Queries.SearchQueryElement CurrentQuery( bool includeCurrent, bool onlyApplied, bool cache )
Exception | Description |
---|---|
System.InvalidOperationException | Occurs when the context is not attached to any filter. |
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