SaaS CMS has officially launched! Learn more now.

Class Query

Inheritance
System.Object
Query
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Shell.Search
Assembly: EPiServer.Shell.dll
Version: 11.20.7
Syntax
public class Query

Constructors

Query(String)

Declaration
public Query(string searchQuery)
Parameters
Type Name Description
System.String searchQuery

Query(String, IDictionary<String, Object>)

Declaration
public Query(string searchQuery, IDictionary<string, object> parameters)
Parameters
Type Name Description
System.String searchQuery
System.Collections.Generic.IDictionary<System.String, System.Object> parameters

Query(String, Int32)

Declaration
public Query(string searchQuery, int maxResults)
Parameters
Type Name Description
System.String searchQuery
System.Int32 maxResults

Query(String, Int32, IDictionary<String, Object>)

Declaration
public Query(string searchQuery, int maxResults, IDictionary<string, object> parameters)
Parameters
Type Name Description
System.String searchQuery
System.Int32 maxResults
System.Collections.Generic.IDictionary<System.String, System.Object> parameters

Properties

FilterOnCulture

Declaration
public bool FilterOnCulture { get; set; }
Property Value
Type Description
System.Boolean

MaxResults

Declaration
public int MaxResults { get; set; }
Property Value
Type Description
System.Int32

Parameters

Declaration
public IDictionary<string, object> Parameters { get; }
Property Value
Type Description
System.Collections.Generic.IDictionary<System.String, System.Object>

SearchQuery

Declaration
public string SearchQuery { get; set; }
Property Value
Type Description
System.String

SearchRoots

Declaration
public IEnumerable<string> SearchRoots { get; set; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<System.String>

Extension Methods