Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSCommon > Structures > Classes > TSortedCollection > Methods

TSortedCollection.Compare(TCollectionItem,TCollectionItem) Method

Scroll Prev Top Next More

Compares the two collection items and returns -1, 0, or 1. The Sort method uses the Compare method to determine the sort order of the items.

alert_cautionWarning

The OnCompare event handler must be defined

Namespace: Structures

Parameters

Item1

Type: TCollectionItem

Item2

Type: TCollectionItem

Return Value

Type: Integer

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb