[]
Gets the sort type.
This value indicates the criterion used by the sort field, such as values, cell color, font color, or icons.
SortOnType SortOn { get; }
ReadOnly Property SortOn As SortOnType
worksheet.Range["A1:B4"].Value = new object[,] {
{"Name", "Score"},
{"Tom", 90},
{"Amy", 80},
{"Ken", 95}
};
IValueSortField sortField = new ValueSortField(worksheet.Range["B2:B4"], SortOrder.Ascending);
SortOnType sortOn = sortField.SortOn;