[]
Represents the information related to sorting columns, rows, or a range of cells.
public class SortInfo : ISerializable
Public Class SortInfo
Implements ISerializable
| Name | Description |
|---|---|
| SortInfo(int, bool) | Creates a SortInfo object with the order specified and the comparison done using the system default comparer. |
| SortInfo(int, bool, IComparer) | Creates a SortInfo object with the order specified and the comparison done according to the specified comparer. |
| SortInfo(SerializationInfo, StreamingContext) | Initializes a new instance of the SortInfo class from serialization. |
| Name | Description |
|---|---|
| Ascending | Gets or sets whether the sort order is ascending. |
| Comparer | Gets or sets the IComparer object for the method of comparison. |
| Index | Gets or sets the index of the column or row on which to sort. |
| Name | Description |
|---|---|
| GetObjectData(SerializationInfo, StreamingContext) | Populates a System.Runtime.Serialization.SerializationInfo with the data needed to serialize the target object. |