Show / Hide Table of Contents

Class ArchiveColumnComparer

Inheritance
Object
ArchiveColumnComparer
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoCore.dll
Syntax
public static class ArchiveColumnComparer : Object

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
Int32

-1, 0 or 1 according to the ordering criteria

© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top