Class SortRange

SortRange class

Indicates a range of a Worksheet and provide method to sort the range datas by row or column.

public class SortRange

Constructors

NameDescription
SortRange(Worksheet, int, int, int, int, SortOrientation, bool)Intializes a new instance of the SortRange class by specifing a worksheet range and sort orientation.

Methods

NameDescription
Sort(int)Sorts the datas ascend in the range by index.
Sort(int[])Sorts the datas ascend in the range by some field that are specifed by array indexes.
Sort(int, SortOrder)Sorts the datas in the range by index.
Sort(int[], SortOrder[])Sorts the datas in the range by some field that are specifed by array indexes.

See Also