Class RangeSortLayer
This class represents a condition in a sort.
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
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 |
|---|---|---|
| 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 |
|---|---|---|
| Int32 | column | The column to sort |
| eSortOrder | sortOrder | Ascending or Descending sort |
Returns
| Type | Description |
|---|---|
| RangeSortLayerBuilder | A RangeSortLayerBuilder for adding more sort criterias |