Click or drag to resize

SortState Methods

The SortState type exposes the following members.

Methods
  NameDescription
Public methodApply
Performs the sorting of this Range based on this SortState settings.
Public methodBy(Int32)
Adds a SortLevel applied to a column (or a row, if LeftToRight is ) with the specified index (relative to the Range).
Public methodBy(Int32, Boolean)
Adds a SortLevel applied to a column (or a row, if LeftToRight is ) with the specified index (relative to the Range) and with the specified order to sort by.
Public methodBy(Int32, IEnumerableString)
Adds a SortLevel applied to a column (or a row, if LeftToRight is ) with the specified index (relative to the Range) and with the specified custom list by which order of items to sort by.
Public methodBy(Int32, ComparisonExcelCell)
Adds a SortLevel applied to a column (or a row, if LeftToRight is ) with the specified index (relative to the Range) and with the specified comparison method to sort by.
Public methodBy(Int32, String)
Adds a SortLevel applied to a column (or a row, if LeftToRight is ) with the specified index (relative to the Range) and with the specified custom list by which order of items to sort by.
Public methodBy(Int32, Boolean, IEnumerableString)
Adds a SortLevel applied to a column (or a row, if LeftToRight is ) with the specified index (relative to the Range) and with the specified order and custom list by which order of items to sort by.
Public methodBy(Int32, Boolean, String)
Adds a SortLevel applied to a column (or a row, if LeftToRight is ) with the specified index (relative to the Range) and with the specified order and custom list by which order of items to sort by.
Public methodToString
Returns a String that represents this SortState instance.
(Overrides ObjectToString.)
Top
See Also