Class RangeSortLayer
- Namespace
- OfficeOpenXml.Sorting
- Assembly
- EPPlus.dll
This class represents a condition in a sort.
public class RangeSortLayer : SortLayerBase
- Inheritance
-
RangeSortLayer
- Inherited Members
Methods
Column(int)
Sorts by the column that corresponds to the column
(zerobased) with ascending sort direction
public virtual RangeSortLayerBuilder Column(int column)
Parameters
column
intThe column to sort
Returns
- RangeSortLayerBuilder
A RangeSortLayerBuilder for adding more sort criterias
Column(int, eSortOrder)
Sorts by the column that corresponds to the column
(zerobased) using the supplied sort direction.
public RangeSortLayerBuilder Column(int column, eSortOrder sortOrder)
Parameters
column
intThe column to sort
sortOrder
eSortOrderAscending or Descending sort
Returns
- RangeSortLayerBuilder
A RangeSortLayerBuilder for adding more sort criterias