Click or drag to resize

DataSorter Class

This class used to Sort the Range.
Inheritance Hierarchy
System Object
Spire.Xls.Core.Spreadsheet.Sorting DataSorter

Namespace: Spire.Xls.Core.Spreadsheet.Sorting
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public class DataSorter : IDataSort

The DataSorter type exposes the following members.

Properties
Name Description
Public property IsCaseSensitive
Indicates whether to perform case sensitive sort.
Public property IsIncludeTitle
Indicates whether the cell range has title.
Public property Orientation
Represents the sort orientation.
Public property SortColumns
Represents the SortFields Collection.
Public property SortedWay
Represents the algorithm to sort.
Public property SortLeftToRight
True means that sorting orientation is from left to right. False means that sorting orientation is from top to bottom. The default value is false.
Top
Methods
Name Description
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Public method Sort
Sorts the range based on the sort fields.
Public method SortBy Obsolete.
Sorts the range with the given parameter.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
See Also