Click or drag to resize

QueryResultOrder Class

Class QueryResultOrder represents a search query result order. This class cannot be inherited.
Inheritance Hierarchy
SystemObject
  Dynamicweb.Analytics.QueriesQueryResultOrder

Namespace:  Dynamicweb.Analytics.Queries
Assembly:  Dynamicweb.Analytics (in Dynamicweb.Analytics.dll) Version: 2.1.4
Syntax
public sealed class QueryResultOrder : IComparable<QueryResultOrder>, 
	IComparable

The QueryResultOrder type exposes the following members.

Constructors
  NameDescription
Public methodQueryResultOrder
Initializes a new instance of an object.
Public methodQueryResultOrder(QueryField, QueryResultDirection)
Initializes a new instance of an object.
Top
Properties
  NameDescription
Public propertyDirection
Gets or sets the order by direction.
Public propertyField
Gets or sets the order by field.
Top
Methods
  NameDescription
Public methodStatic memberAscending
Creates a new ascending result order.
Public methodCompareTo
Compares the current object with specified one.
Public methodStatic memberDescending
Creates a new descending result order.
Public methodEquals
Compares the current object with specified one.
(Overrides ObjectEquals(Object).)
Public methodGetHashCode
Returns a hash code of the current object.
(Overrides ObjectGetHashCode.)
Public methodToString
Returns a string representation of the current object.
(Overrides ObjectToString.)
Top
Fields
  NameDescription
Public fieldStatic memberDefault
Gets the default results order.
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodIComparableCompareTo
Compares the current object with specified one.
Top
See Also