Class RangeLeftToRightSortLayer
Critieras for sorting a range left to right
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 RangeLeftToRightSortLayer : SortLayerBase
Methods
Row(Int32)
Sorts by the column that corresponds to the row (zerobased) with ascending sort direction
Declaration
public virtual RangeLeftToRightSortLayerBuilder Row(int row)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | row | The row to sort on |
Returns
| Type | Description |
|---|---|
| RangeLeftToRightSortLayerBuilder | A RangeLeftToRightSortLayerBuilder for adding more sort criterias |
Row(Int32, eSortOrder)
Sorts by the column that corresponds to the row (zerobased) using the supplied sort direction.
Declaration
public RangeLeftToRightSortLayerBuilder Row(int row, eSortOrder sortOrder)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | row | The column to sort on |
| eSortOrder | sortOrder | Ascending or Descending sort |
Returns
| Type | Description |
|---|---|
| RangeLeftToRightSortLayerBuilder | A RangeLeftToRightSortLayerBuilder for adding more sort criterias |