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
fieldstring- The 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
fieldstring- The name of the field to order resuts by.
 directionOrderByDirection- The 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; }