Class OrderBy
- Namespace
- Dynamicweb.Content.Items.Queries
- Assembly
- Dynamicweb.dll
Represents an object that specifies how query results must be ordered.
public class OrderBy
- Inheritance
-
OrderBy
- Inherited Members
Constructors
OrderBy()
Initializes a new instance of an object.
public OrderBy()
OrderBy(string)
Initializes a new instance of an object.
public OrderBy(string field)
Parameters
fieldstringThe name of the field to order resuts by.
OrderBy(string, OrderByDirection)
Initializes a new instance of an object.
public OrderBy(string field, OrderByDirection direction)
Parameters
fieldstringThe name of the field to order resuts by.
directionOrderByDirectionThe direction of order.
Properties
Direction
Gets or sets the direction of order.
public OrderByDirection Direction { get; set; }
Property Value
Field
Gets or sets the name of the field.
public string Field { get; set; }