Class ArchiveColumnComparer
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoCore.dll
Syntax
public static class ArchiveColumnComparer
Methods
ColumnComparer(ArchiveColumnData, ArchiveColumnData)
This is a comparison method that can be passed as a comparer to the various Sort methods in the .NET framework. It compares the incoming Archive Rows according to the orderBy values (displayValues if orderByValues are null), in the order and direction specified by the current orderby settings.
Declaration
public static int ColumnComparer(ArchiveColumnData xColumn, ArchiveColumnData yColumn)
Parameters
Type | Name | Description |
---|---|---|
ArchiveColumnData | xColumn | left hand iterator, whose current row is used |
ArchiveColumnData | yColumn | right hand iterator, whose current row is used |
Returns
Type | Description |
---|---|
int | -1, 0 or 1 according to the ordering criteria |