Class RangeSortLayer
This class represents a condition in a sort.
Inherited Members
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.ToString()
    
  Namespace: OfficeOpenXml.Sorting
Assembly: EPPlus.dll
Syntax
public class RangeSortLayer : SortLayerBase
  Methods
Column(Int32)
Sorts by the column that corresponds to the column (zerobased) with ascending sort direction
Declaration
public virtual RangeSortLayerBuilder Column(int column)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | column | The column to sort  | 
      
Returns
| Type | Description | 
|---|---|
| RangeSortLayerBuilder | A RangeSortLayerBuilder for adding more sort criterias  | 
      
Column(Int32, eSortOrder)
Sorts by the column that corresponds to the column (zerobased) using the supplied sort direction.
Declaration
public RangeSortLayerBuilder Column(int column, eSortOrder sortOrder)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | column | The column to sort  | 
      
| eSortOrder | sortOrder | Ascending or Descending sort  | 
      
Returns
| Type | Description | 
|---|---|
| RangeSortLayerBuilder | A RangeSortLayerBuilder for adding more sort criterias  |