User Tools

Site Tools


api:dk11:delphi:gistypes.tgis_objectlistsortcompare_tobject_tobject

Table of Contents

TGIS_ObjectListSortCompare prototype

DK11 for Delphi | GisTypes.TGIS_ObjectListSortCompare | Constants | Enums | Classes | Prototypes | Records

Comparator function type used in sort.

Available also on: .NET | Java.

Syntax

// Delphi
type
  TGIS_ObjectListSortCompare = function (
    const Item1 : TObject;
    const Item2 : TObject
  ) : Integer;
// C++ Builder
typedef int (*TGIS_ObjectListSortCompare)(
  TObject* const Item1,
  TObject* const Item2
);

Parameters

Name Type Description
Item1 TObject first item to compare
Item2 TObject second item to compare

Result

Type Description
Integer
2020/05/07 01:10

Page Tools