Class RangeSortLayer
This class represents a condition in a sort.
Inherited Members
Namespace: OfficeOpenXml.Sorting
Assembly: EPPlus.dll
Syntax
public class RangeSortLayer : SortLayerBase
Methods
Column(int)
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 |
|---|---|---|
| int | column | The column to sort |
Returns
| Type | Description |
|---|---|
| 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.
Declaration
public RangeSortLayerBuilder Column(int column, eSortOrder sortOrder)
Parameters
| Type | Name | Description |
|---|---|---|
| int | column | The column to sort |
| eSortOrder | sortOrder | Ascending or Descending sort |
Returns
| Type | Description |
|---|---|
| RangeSortLayerBuilder | A RangeSortLayerBuilder for adding more sort criterias |